diff options
author | Roland McGrath <roland@gnu.org> | 1993-07-08 22:33:57 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 1993-07-08 22:33:57 +0000 |
commit | 67cbb73ffd3e335ce67286b3c26bfc80ad3e8517 (patch) | |
tree | ba204ef900bf735fed7eadfd1f86f566078fe532 /lisp/isearch.el | |
parent | 62d1c1fcb246db6ef9d9138cf9c34247847fe4d4 (diff) | |
download | emacs-67cbb73ffd3e335ce67286b3c26bfc80ad3e8517.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.el | 5 |
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? |