aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1994-01-03 07:41:23 +0000
committerRichard M. Stallman1994-01-03 07:41:23 +0000
commit1a2ac38862bfb5637d5acf90eae51b861d4a7bde (patch)
treec8e21363b99a4f3b7f8ab40f46366591bb0340bb
parent984f718a65b057dd63c3c3a5fd8ce9da5b87e2bb (diff)
downloademacs-1a2ac38862bfb5637d5acf90eae51b861d4a7bde.tar.gz
emacs-1a2ac38862bfb5637d5acf90eae51b861d4a7bde.zip
More menu bar commands.
-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 @@
57(define-key c-mode-map [menu-bar c] 57(define-key c-mode-map [menu-bar c]
58 (cons "C" (make-sparse-keymap "C"))) 58 (cons "C" (make-sparse-keymap "C")))
59 59
60(define-key c-mode-map [menu-bar c comment-region]
61 '("Comment Out Region" . comment-region))
62(define-key c-mode-map [menu-bar c c-macro-expand]
63 '("Macro Expand Region" . c-macro-expand))
64(define-key c-mode-map [menu-bar c c-backslash-region]
65 '("Backslashify" . c-backslash-region))
60(define-key c-mode-map [menu-bar c indent-exp] 66(define-key c-mode-map [menu-bar c indent-exp]
61 '("Indent Expression" . indent-c-exp)) 67 '("Indent Expression" . indent-c-exp))
62(define-key c-mode-map [menu-bar c indent-line] 68(define-key c-mode-map [menu-bar c indent-line]