summaryrefslogtreecommitdiff
path: root/lisp/progmodes/c-mode.el
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1994-01-03 07:41:23 +0000
committerRichard M. Stallman <rms@gnu.org>1994-01-03 07:41:23 +0000
commit917dbdc3cd000e1cf9f7385b9b172252ec3ff05f (patch)
tree63e6183a4ce8d4518bf67dec05076e7b19ae306b /lisp/progmodes/c-mode.el
parent97d46a33c9ded6871d8fea2a39e34155fd669300 (diff)
downloademacs-917dbdc3cd000e1cf9f7385b9b172252ec3ff05f.tar.gz
More menu bar commands.
Diffstat (limited to 'lisp/progmodes/c-mode.el')
-rw-r--r--lisp/progmodes/c-mode.el6
1 files changed, 6 insertions, 0 deletions
diff --git a/lisp/progmodes/c-mode.el b/lisp/progmodes/c-mode.el
index 3728b128401..6498cb97baf 100644
--- a/lisp/progmodes/c-mode.el
+++ b/lisp/progmodes/c-mode.el
@@ -57,6 +57,12 @@
(define-key c-mode-map [menu-bar c]
(cons "C" (make-sparse-keymap "C")))
+(define-key c-mode-map [menu-bar c comment-region]
+ '("Comment Out Region" . comment-region))
+(define-key c-mode-map [menu-bar c c-macro-expand]
+ '("Macro Expand Region" . c-macro-expand))
+(define-key c-mode-map [menu-bar c c-backslash-region]
+ '("Backslashify" . c-backslash-region))
(define-key c-mode-map [menu-bar c indent-exp]
'("Indent Expression" . indent-c-exp))
(define-key c-mode-map [menu-bar c indent-line]