Mercurial > hg > xemacs-beta
diff lisp/isearch-mode.el @ 2068:7dc50bbd7a39
[xemacs-hg @ 2004-05-10 07:04:34 by stephent]
docstring tweaks <87zn8g3gt7.fsf_-_@tleepslib.sk.tsukuba.ac.jp>
author | stephent |
---|---|
date | Mon, 10 May 2004 07:04:34 +0000 |
parents | 488b2f76d852 |
children | a25c824ed558 |
line wrap: on
line diff
--- a/lisp/isearch-mode.el Mon May 10 06:26:31 2004 +0000 +++ b/lisp/isearch-mode.el Mon May 10 07:04:34 2004 +0000 @@ -431,7 +431,10 @@ back to what has been found successfully. \\[isearch-abort] when search is successful aborts and moves point to\ - starting point. + starting point, + leaving the search string at the head of the search ring. Note that this + behavior differs from GNU Emacs, which forgets the current search string + on abort regardless of success or failure. Also supported is a search ring of the previous 16 search strings. Type \\[isearch-ring-advance] to search for the next item in the search ring. @@ -864,6 +867,11 @@ (defun isearch-abort () "Abort incremental search mode if searching is successful, signaling quit. +Leave the search string at the head of the search ring. Note that this +behavior differs from GNU Emacs, which forgets the current search string +on abort regardless of success or failure. Use `isearch-cancel' to abort +and forget regardless of success or failure. + Otherwise, revert to previous successful search and continue searching. Use `isearch-exit' to quit without signaling." (interactive)