1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-04-16 19:10:53 -07:00

(isearch-done): Call deactivate-mark instead of setting mark-active

directly.  Do this regardless of transient-mark-mode.
This commit is contained in:
Roland McGrath 1993-07-08 22:33:57 +00:00
parent 62d1c1fcb2
commit 67cbb73ffd

View 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?