aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Monnier2003-06-16 17:24:45 +0000
committerStefan Monnier2003-06-16 17:24:45 +0000
commitd7672cf846e1129f85545f63a515a83e56f02b7d (patch)
tree27bbca4752fc4a3542e02b82033796a34910e8b8
parentcda7bd131fda498fdedfd02c635773cf21262b8d (diff)
downloademacs-d7672cf846e1129f85545f63a515a83e56f02b7d.tar.gz
emacs-d7672cf846e1129f85545f63a515a83e56f02b7d.zip
(cua-mode): Use explicit arg to turn off minor modes.
-rw-r--r--lisp/emulation/cua-base.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/emulation/cua-base.el b/lisp/emulation/cua-base.el
index 2215e46a0ce..0de58dbf408 100644
--- a/lisp/emulation/cua-base.el
+++ b/lisp/emulation/cua-base.el
@@ -1,6 +1,6 @@
1;;; cua-base.el --- emulate CUA key bindings 1;;; cua-base.el --- emulate CUA key bindings
2 2
3;; Copyright (C) 1997-2002 Free Software Foundation, Inc. 3;; Copyright (C) 1997,98,99,200,01,02,03 Free Software Foundation, Inc.
4 4
5;; Author: Kim F. Storm <storm@cua.dk> 5;; Author: Kim F. Storm <storm@cua.dk>
6;; Keywords: keyboard emulation convenience cua 6;; Keywords: keyboard emulation convenience cua
@@ -1204,9 +1204,9 @@ paste (in addition to the normal emacs bindings)."
1204 (and (boundp 'delete-selection-mode) delete-selection-mode) 1204 (and (boundp 'delete-selection-mode) delete-selection-mode)
1205 (and (boundp 'pc-selection-mode) pc-selection-mode))) 1205 (and (boundp 'pc-selection-mode) pc-selection-mode)))
1206 (if (and (boundp 'delete-selection-mode) delete-selection-mode) 1206 (if (and (boundp 'delete-selection-mode) delete-selection-mode)
1207 (delete-selection-mode)) 1207 (delete-selection-mode -1))
1208 (if (and (boundp 'pc-selection-mode) pc-selection-mode) 1208 (if (and (boundp 'pc-selection-mode) pc-selection-mode)
1209 (pc-selection-mode)) 1209 (pc-selection-mode -1))
1210 (setq transient-mark-mode (and cua-mode 1210 (setq transient-mark-mode (and cua-mode
1211 (if cua-highlight-region-shift-only 1211 (if cua-highlight-region-shift-only
1212 (not cua--explicit-region-start) 1212 (not cua--explicit-region-start)