changeset 105921:b3189a049bbf

* emulation/cua-base.el: Add CUA property to some CC mode commands (Bug#4100).
author Chong Yidong <cyd@stupidchicken.com>
date Sun, 08 Nov 2009 23:05:49 +0000
parents 0a019b48e945
children 68729184628a
files lisp/ChangeLog lisp/emulation/cua-base.el
diffstat 2 files changed, 9 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Sun Nov 08 23:01:45 2009 +0000
+++ b/lisp/ChangeLog	Sun Nov 08 23:05:49 2009 +0000
@@ -8,6 +8,9 @@
 	* cedet/semantic/ctxt.el (semantic-get-local-variables): Disable
 	the progress reporter entirely.
 
+	* emulation/cua-base.el: Add CUA property to some CC mode commands
+	(Bug#4100).
+
 2009-11-08  Kevin Ryde  <user42@zip.com.au>
 
 	* emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
--- a/lisp/emulation/cua-base.el	Sun Nov 08 23:01:45 2009 +0000
+++ b/lisp/emulation/cua-base.el	Sun Nov 08 23:05:49 2009 +0000
@@ -1504,7 +1504,12 @@
    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