comparison 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
comparison
equal deleted inserted replaced
2067:0750eca4d23a 2068:7dc50bbd7a39
429 Type \\[isearch-whitespace-chars] to match all whitespace chars in regexp. 429 Type \\[isearch-whitespace-chars] to match all whitespace chars in regexp.
430 \\[isearch-abort] while searching or when search has failed cancels input\ 430 \\[isearch-abort] while searching or when search has failed cancels input\
431 back to what has 431 back to what has
432 been found successfully. 432 been found successfully.
433 \\[isearch-abort] when search is successful aborts and moves point to\ 433 \\[isearch-abort] when search is successful aborts and moves point to\
434 starting point. 434 starting point,
435 leaving the search string at the head of the search ring. Note that this
436 behavior differs from GNU Emacs, which forgets the current search string
437 on abort regardless of success or failure.
435 438
436 Also supported is a search ring of the previous 16 search strings. 439 Also supported is a search ring of the previous 16 search strings.
437 Type \\[isearch-ring-advance] to search for the next item in the search ring. 440 Type \\[isearch-ring-advance] to search for the next item in the search ring.
438 Type \\[isearch-ring-retreat] to search for the previous item in the search\ 441 Type \\[isearch-ring-retreat] to search for the previous item in the search\
439 ring. 442 ring.
862 (isearch-done t) 865 (isearch-done t)
863 (signal 'quit '(isearch))) ; and pass on quit signal 866 (signal 'quit '(isearch))) ; and pass on quit signal
864 867
865 (defun isearch-abort () 868 (defun isearch-abort ()
866 "Abort incremental search mode if searching is successful, signaling quit. 869 "Abort incremental search mode if searching is successful, signaling quit.
870 Leave the search string at the head of the search ring. Note that this
871 behavior differs from GNU Emacs, which forgets the current search string
872 on abort regardless of success or failure. Use `isearch-cancel' to abort
873 and forget regardless of success or failure.
874
867 Otherwise, revert to previous successful search and continue searching. 875 Otherwise, revert to previous successful search and continue searching.
868 Use `isearch-exit' to quit without signaling." 876 Use `isearch-exit' to quit without signaling."
869 (interactive) 877 (interactive)
870 ;; (ding) signal instead below, if quitting 878 ;; (ding) signal instead below, if quitting
871 (discard-input) 879 (discard-input)