From: Simon Marshall Date: Fri, 16 Jun 1995 12:30:26 +0000 (+0000) Subject: Put menu-enable mark-active on relevant items. X-Git-Tag: emacs-19.34~3589 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=d73ecf45adb665211937025ef6161aff3f61ef41;p=emacs.git Put menu-enable mark-active on relevant items. --- diff --git a/lisp/progmodes/c-mode.el b/lisp/progmodes/c-mode.el index 959bb9f06b1..ff4a8e465c7 100644 --- a/lisp/progmodes/c-mode.el +++ b/lisp/progmodes/c-mode.el @@ -84,6 +84,9 @@ (define-key c-mode-map [menu-bar c forward-stmt] '("Forward Statement" . c-end-of-statement)) +(put 'comment-region 'menu-enable 'mark-active) +(put 'c-macro-expand 'menu-enable 'mark-active) + (autoload 'c-macro-expand "cmacexp" "Display the result of expanding all C macros occurring in the region. The expansion is entirely correct because it uses the C preprocessor."