changeset 4041:b145227c647a

(isearch-done): Call deactivate-mark instead of setting mark-active directly. Do this regardless of transient-mark-mode.
author Roland McGrath <roland@gnu.org>
date Thu, 08 Jul 1993 22:33:57 +0000
parents d06d7295d3eb
children 4b4ab64225f7
files lisp/isearch.el
diffstat 1 files changed, 2 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/isearch.el	Thu Jul 08 21:46:22 1993 +0000
+++ b/lisp/isearch.el	Thu Jul 08 22:33:57 1993 +0000
@@ -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 @@
     (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?