From 99afb6719f13fb7daa1dd5bdd0d66b19f3f36495 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Fri, 24 Dec 1993 03:30:11 +0000 Subject: [PATCH] (isearch-update): If isearch-other-end is nil, call isearch-dehighlight. --- lisp/isearch.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lisp/isearch.el b/lisp/isearch.el index 27eb0b2eee0..7be09bd5f28 100644 --- a/lisp/isearch.el +++ b/lisp/isearch.el @@ -4,7 +4,7 @@ ;; Author: Daniel LaLiberte -;; |$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 -- 2.39.5