# HG changeset patch # User Roland McGrath # Date 742170837 0 # Node ID b145227c647a6d9b900a810c70fd0ed87dc8c3ac # Parent d06d7295d3eb5aa12740a87e4fc55b9173e73755 (isearch-done): Call deactivate-mark instead of setting mark-active directly. Do this regardless of transient-mark-mode. diff -r d06d7295d3eb -r b145227c647a lisp/isearch.el --- 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 -;; |$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?