summaryrefslogtreecommitdiff
path: root/lisp/isearch.el
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1993-07-08 22:33:57 +0000
committerRoland McGrath <roland@gnu.org>1993-07-08 22:33:57 +0000
commit74fff7cb7b0db225b2711f1f62e4828d22c27b20 (patch)
tree4f183f5ebb2b2db3ef881d8316cf594faf208a23 /lisp/isearch.el
parent2b9f89c894d9a21bf9ee6f83094103b85b2e2262 (diff)
downloademacs-74fff7cb7b0db225b2711f1f62e4828d22c27b20.tar.gz
(isearch-done): Call deactivate-mark instead of setting mark-active
directly. Do this regardless of transient-mark-mode.
Diffstat (limited to 'lisp/isearch.el')
-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 @@
;; Author: Daniel LaLiberte <liberte@cs.uiuc.edu>
-;; |$Date: 1993/06/13 21:43:15 $|$Revision: 1.43 $
+;; |$Date: 1993/07/02 21:34:15 $|$Revision: 1.44 $
;; This file is not yet part of GNU Emacs, but it is based almost
;; 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."
(if (/= (point) isearch-opoint)
(progn
(push-mark isearch-opoint t)
- (if transient-mark-mode
- (setq mark-active nil))
+ (deactivate-mark)
(or executing-macro (> (minibuffer-depth) 0)
(message "Mark saved where search started")))
;; (message "") why is this needed?