From: Richard M. Stallman Date: Mon, 3 Jan 1994 07:41:23 +0000 (+0000) Subject: More menu bar commands. X-Git-Tag: emacs-19.34~10429 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=1a2ac38862bfb5637d5acf90eae51b861d4a7bde;p=emacs.git More menu bar commands. --- 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]