Commit 47aef245 authored by Nick Roberts's avatar Nick Roberts

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

on menu bar.
parent 8474779c
......@@ -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.")
......
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