aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/progmodes/c-mode.el5
1 files changed, 4 insertions, 1 deletions
diff --git a/lisp/progmodes/c-mode.el b/lisp/progmodes/c-mode.el
index b0c962dcae1..266cd330ca3 100644
--- a/lisp/progmodes/c-mode.el
+++ b/lisp/progmodes/c-mode.el
@@ -53,8 +53,11 @@
53 53
54(define-key c-mode-map [menu-bar] (make-sparse-keymap)) 54(define-key c-mode-map [menu-bar] (make-sparse-keymap))
55 55
56;; "C-mode" is not strictly the right punctuation--it should be "C
57;; mode"--but that would look like two menu items. "C-mode" is the
58;; best alternative I can think of.
56(define-key c-mode-map [menu-bar c] 59(define-key c-mode-map [menu-bar c]
57 (cons "C Mode" (make-sparse-keymap "C Mode"))) 60 (cons "C-mode" (make-sparse-keymap "C-mode")))
58 61
59(define-key c-mode-map [menu-bar c comment-region] 62(define-key c-mode-map [menu-bar c comment-region]
60 '("Comment Out Region" . comment-region)) 63 '("Comment Out Region" . comment-region))