diff options
author | Andreas Schwab <[email protected]> | 1998-01-26 11:29:46 +0000 |
---|---|---|
committer | Andreas Schwab <[email protected]> | 1998-01-26 11:29:46 +0000 |
commit | 28d16ed35be96b3665e60c0eec1444c5f32f3165 (patch) | |
tree | 773b0d48e5291895ab7c70033fc7a7bcf2ae9468 /lisp/progmodes/hideif.el | |
parent | b8ba68e52bd2002eb086568b1938bb5e38408850 (diff) |
Customized.
Diffstat (limited to 'lisp/progmodes/hideif.el')
-rw-r--r-- | lisp/progmodes/hideif.el | 22 |
1 files changed, 16 insertions, 6 deletions
diff --git a/lisp/progmodes/hideif.el b/lisp/progmodes/hideif.el index 734d962dd1..d746c0ca44 100644 --- a/lisp/progmodes/hideif.el +++ b/lisp/progmodes/hideif.el @@ -112,6 +112,10 @@ (require 'cc-mode) +(defgroup hide-ifdef nil + "Hide selected code within `ifdef'." + :group 'c) + (defvar hide-ifdef-mode-submap nil "Keymap used with Hide-Ifdef mode.") @@ -886,19 +890,25 @@ It does not do the work that's pointless to redo on a recursive entry." ;===%%SF%% exports (Start) === ;;;###autoload -(defvar hide-ifdef-initially nil - "*Non-nil means call `hide-ifdefs' when Hide-Ifdef mode is first activated.") +(defcustom hide-ifdef-initially nil + "*Non-nil means call `hide-ifdefs' when Hide-Ifdef mode is first activated." + :type 'boolean + :group 'hide-ifdef) ;;;###autoload -(defvar hide-ifdef-read-only nil - "*Set to non-nil if you want buffer to be read-only while hiding text.") +(defcustom hide-ifdef-read-only nil + "*Set to non-nil if you want buffer to be read-only while hiding text." + :type 'boolean + :group 'hide-ifdef) (defvar hif-outside-read-only nil "Internal variable. Saves the value of `buffer-read-only' while hiding.") ;;;###autoload -(defvar hide-ifdef-lines nil - "*Non-nil means hide the #ifX, #else, and #endif lines.") +(defcustom hide-ifdef-lines nil + "*Non-nil means hide the #ifX, #else, and #endif lines." + :type 'boolean + :group 'hide-ifdef) (defun hide-ifdef-toggle-read-only () "Toggle hide-ifdef-read-only." |