# HG changeset patch # User Richard M. Stallman # Date 795396699 0 # Node ID a9045ed63e20a7e9344f45997c1bf877850a9e4b # Parent b4bf1f2d99f82db39fcfedafdf145588792cf351 (isearch-abort): Set isearch-success to nil. diff -r b4bf1f2d99f8 -r a9045ed63e20 lisp/isearch.el --- a/lisp/isearch.el Thu Mar 16 23:28:27 1995 +0000 +++ b/lisp/isearch.el Thu Mar 16 23:31:39 1995 +0000 @@ -4,7 +4,7 @@ ;; Author: Daniel LaLiberte -;; |$Date: 1994/12/26 05:09:07 $|$Revision: 1.82 $ +;; |$Date: 1995/01/11 02:24:09 $|$Revision: 1.83 $ ;; This file is part of GNU Emacs. @@ -797,13 +797,13 @@ ;; If search is successful, move back to starting point ;; and really do quit. (progn (goto-char isearch-opoint) + (setq isearch-success nil) (isearch-done t) ; exit isearch (signal 'quit nil)) ; and pass on quit signal ;; If search is failing, rub out until it is once more successful. (while (not isearch-success) (isearch-pop-state)) (isearch-update))) - (defun isearch-repeat (direction) ;; Utility for isearch-repeat-forward and -backward. (if (eq isearch-forward (eq direction 'forward))