changeset 55341:7ee62cfb248c

(cua-mode): Deactivate mark when cua-mode is enabled.
author Kim F. Storm <storm@cua.dk>
date Mon, 03 May 2004 14:26:23 +0000
parents 0c2bbf5c1f61
children 44d086f5e08a
files lisp/emulation/cua-base.el
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/emulation/cua-base.el	Mon May 03 14:25:58 2004 +0000
+++ b/lisp/emulation/cua-base.el	Mon May 03 14:26:23 2004 +0000
@@ -1336,6 +1336,7 @@
 	(delete-selection-mode -1))
     (if (and (boundp 'pc-selection-mode) pc-selection-mode)
 	(pc-selection-mode -1))
+    (cua--deactivate)
     (setq transient-mark-mode (and cua-mode
 				   (if cua-highlight-region-shift-only
 				       (not cua--explicit-region-start)