]> git.eshelyaron.com Git - emacs.git/commitdiff
(isearch-update): If isearch-other-end is nil,
authorRichard M. Stallman <rms@gnu.org>
Fri, 24 Dec 1993 03:30:11 +0000 (03:30 +0000)
committerRichard M. Stallman <rms@gnu.org>
Fri, 24 Dec 1993 03:30:11 +0000 (03:30 +0000)
call isearch-dehighlight.

lisp/isearch.el

index 27eb0b2eee0863e73cc7d2c63613cd6fabfca3d6..7be09bd5f28a2b4fe0406c8e31be735952c87cc7 100644 (file)
@@ -4,7 +4,7 @@
 
 ;; Author: Daniel LaLiberte <liberte@cs.uiuc.edu>
 
-;; |$Date: 1993/11/26 22:20:23 $|$Revision: 1.55 $
+;; |$Date: 1993/12/23 03:28:10 $|$Revision: 1.56 $
 
 ;; This file is part of GNU Emacs.
 
@@ -547,7 +547,8 @@ is treated as a regexp.  See \\[isearch-forward] for more info."
        (if isearch-other-end
            (if (< isearch-other-end (point)) ; isearch-forward?
                (isearch-highlight isearch-other-end (point))
-             (isearch-highlight (point) isearch-other-end)))
+             (isearch-highlight (point) isearch-other-end))
+         (isearch-dehighlight nil))
        ))
   (setq ;; quit-flag nil  not for isearch-mode
    isearch-adjusted nil