1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-12 09:28:24 +00:00

(hide-ifdef-mode-menu): Put hide-ifdef commands

on menu bar.
This commit is contained in:
Nick Roberts 2008-01-06 21:29:20 +00:00
parent 8474779c25
commit 47aef245fc

View File

@ -143,6 +143,20 @@
map)
"Keymap used with `hide-ifdef-mode'.")
(easy-menu-define hide-ifdef-mode-menu hide-ifdef-mode-map
"Menu for `hide-ifdef-mode'."
'("Hide-Ifdef"
["Hide some ifdefs" hide-ifdefs t]
["Show all ifdefs" show-ifdefs t]
["Hide ifdef block" hide-ifdef-block t]
["Show ifdef block" show-ifdef-block t]
["Define a variable" hide-ifdef-define t]
["Define an alist" hide-ifdef-set-define-alist t]
["Use an alist" hide-ifdef-use-define-alist t]
["Undefine a variable" hide-ifdef-undef t]
["Toggle read only" hide-ifdef-toggle-read-only
:style toggle :selected hide-ifdef-read-only]))
(defvar hide-ifdef-hiding nil
"Non-nil when text may be hidden.")