changeset 5328:a1450ffc50b7

(isearch-update): If isearch-other-end is nil, call isearch-dehighlight.
author Richard M. Stallman <rms@gnu.org>
date Fri, 24 Dec 1993 03:30:11 +0000
parents 526f3bb9b653
children af96725f9e00
files lisp/isearch.el
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/isearch.el	Fri Dec 24 03:12:14 1993 +0000
+++ b/lisp/isearch.el	Fri Dec 24 03:30:11 1993 +0000
@@ -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 @@
 	(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