]> git.eshelyaron.com Git - emacs.git/commitdiff
(isearch-done): Call deactivate-mark instead of setting mark-active
authorRoland McGrath <roland@gnu.org>
Thu, 8 Jul 1993 22:33:57 +0000 (22:33 +0000)
committerRoland McGrath <roland@gnu.org>
Thu, 8 Jul 1993 22:33:57 +0000 (22:33 +0000)
directly.  Do this regardless of transient-mark-mode.

lisp/isearch.el

index 071e48c9634a5cf262b41fcebe89e48f7f4d0e97..241c69fe087650f00658e019b21f7d680e6138e3 100644 (file)
@@ -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?