summaryrefslogtreecommitdiff
path: root/lisp/emulation
diff options
context:
space:
mode:
authorChong Yidong <cyd@stupidchicken.com>2009-11-08 23:05:49 +0000
committerChong Yidong <cyd@stupidchicken.com>2009-11-08 23:05:49 +0000
commit15207e7467fad49514adaa1cf28a1049251281e2 (patch)
tree94514af81a59058aa477df0085ad56dc680e83ce /lisp/emulation
parentfd4489f0e4fe65b39921ffbc27f3e19da68515c6 (diff)
downloademacs-15207e7467fad49514adaa1cf28a1049251281e2.tar.gz
* emulation/cua-base.el: Add CUA property to some CC mode commands
(Bug#4100).
Diffstat (limited to 'lisp/emulation')
-rw-r--r--lisp/emulation/cua-base.el7
1 files changed, 6 insertions, 1 deletions
diff --git a/lisp/emulation/cua-base.el b/lisp/emulation/cua-base.el
index df91d53db81..30b74d917d5 100644
--- a/lisp/emulation/cua-base.el
+++ b/lisp/emulation/cua-base.el
@@ -1504,7 +1504,12 @@ If ARG is the atom `-', scroll upward by nearly full screen."
forward-sexp backward-sexp
forward-list backward-list
forward-sentence backward-sentence
- forward-paragraph backward-paragraph))
+ forward-paragraph backward-paragraph
+ ;; CC mode motion commands
+ c-forward-conditional c-backward-conditional
+ c-down-conditional c-up-conditional
+ c-down-conditional-with-else c-up-conditional-with-else
+ c-beginning-of-statement c-end-of-statement))
(put cmd 'CUA 'move))
;; State prior to enabling cua-mode