diff options
author | Stefan Monnier <monnier@iro.umontreal.ca> | 2003-06-16 17:24:45 +0000 |
---|---|---|
committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2003-06-16 17:24:45 +0000 |
commit | d7672cf846e1129f85545f63a515a83e56f02b7d (patch) | |
tree | 27bbca4752fc4a3542e02b82033796a34910e8b8 /lisp/emulation | |
parent | cda7bd131fda498fdedfd02c635773cf21262b8d (diff) | |
download | emacs-d7672cf846e1129f85545f63a515a83e56f02b7d.tar.gz |
(cua-mode): Use explicit arg to turn off minor modes.
Diffstat (limited to 'lisp/emulation')
-rw-r--r-- | lisp/emulation/cua-base.el | 6 |
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 @@ ;;; cua-base.el --- emulate CUA key bindings -;; Copyright (C) 1997-2002 Free Software Foundation, Inc. +;; Copyright (C) 1997,98,99,200,01,02,03 Free Software Foundation, Inc. ;; Author: Kim F. Storm <storm@cua.dk> ;; Keywords: keyboard emulation convenience cua @@ -1204,9 +1204,9 @@ paste (in addition to the normal emacs bindings)." (and (boundp 'delete-selection-mode) delete-selection-mode) (and (boundp 'pc-selection-mode) pc-selection-mode))) (if (and (boundp 'delete-selection-mode) delete-selection-mode) - (delete-selection-mode)) + (delete-selection-mode -1)) (if (and (boundp 'pc-selection-mode) pc-selection-mode) - (pc-selection-mode)) + (pc-selection-mode -1)) (setq transient-mark-mode (and cua-mode (if cua-highlight-region-shift-only (not cua--explicit-region-start) |