Commit d73ecf45 authored by Simon Marshall's avatar Simon Marshall
Browse files

Put menu-enable mark-active on relevant items.

parent 29008daa
......@@ -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."
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment