From d73ecf45adb665211937025ef6161aff3f61ef41 Mon Sep 17 00:00:00 2001 From: Simon Marshall Date: Fri, 16 Jun 1995 12:30:26 +0000 Subject: [PATCH] Put menu-enable mark-active on relevant items. --- lisp/progmodes/c-mode.el | 3 +++ 1 file changed, 3 insertions(+) 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." -- 2.39.2