Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
d7672cf8
Commit
d7672cf8
authored
Jun 16, 2003
by
Stefan Monnier
Browse files
(cua-mode): Use explicit arg to turn off minor modes.
parent
cda7bd13
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
lisp/emulation/cua-base.el
lisp/emulation/cua-base.el
+3
-3
No files found.
lisp/emulation/cua-base.el
View file @
d7672cf8
;;; 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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment