aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoland McGrath1993-07-08 22:33:57 +0000
committerRoland McGrath1993-07-08 22:33:57 +0000
commit67cbb73ffd3e335ce67286b3c26bfc80ad3e8517 (patch)
treeba204ef900bf735fed7eadfd1f86f566078fe532
parent62d1c1fcb246db6ef9d9138cf9c34247847fe4d4 (diff)
downloademacs-67cbb73ffd3e335ce67286b3c26bfc80ad3e8517.tar.gz
emacs-67cbb73ffd3e335ce67286b3c26bfc80ad3e8517.zip
(isearch-done): Call deactivate-mark instead of setting mark-active
directly. Do this regardless of transient-mark-mode.
-rw-r--r--lisp/isearch.el5
1 files changed, 2 insertions, 3 deletions
diff --git a/lisp/isearch.el b/lisp/isearch.el
index 071e48c9634..241c69fe087 100644
--- a/lisp/isearch.el
+++ b/lisp/isearch.el
@@ -4,7 +4,7 @@
4 4
5;; Author: Daniel LaLiberte <liberte@cs.uiuc.edu> 5;; Author: Daniel LaLiberte <liberte@cs.uiuc.edu>
6 6
7;; |$Date: 1993/06/13 21:43:15 $|$Revision: 1.43 $ 7;; |$Date: 1993/07/02 21:34:15 $|$Revision: 1.44 $
8 8
9;; This file is not yet part of GNU Emacs, but it is based almost 9;; This file is not yet part of GNU Emacs, but it is based almost
10;; entirely on isearch.el which is part of GNU Emacs. 10;; entirely on isearch.el which is part of GNU Emacs.
@@ -589,8 +589,7 @@ is treated as a regexp. See \\[isearch-forward] for more info."
589 (if (/= (point) isearch-opoint) 589 (if (/= (point) isearch-opoint)
590 (progn 590 (progn
591 (push-mark isearch-opoint t) 591 (push-mark isearch-opoint t)
592 (if transient-mark-mode 592 (deactivate-mark)
593 (setq mark-active nil))
594 (or executing-macro (> (minibuffer-depth) 0) 593 (or executing-macro (> (minibuffer-depth) 0)
595 (message "Mark saved where search started"))) 594 (message "Mark saved where search started")))
596 ;; (message "") why is this needed? 595 ;; (message "") why is this needed?