Mercurial > emacs
diff lisp/progmodes/hideif.el @ 20781:6f55b3849106
Customized.
author | Andreas Schwab <schwab@suse.de> |
---|---|
date | Mon, 26 Jan 1998 11:29:46 +0000 |
parents | 8fc9b5fc7633 |
children | 21dd0dd62240 |
line wrap: on
line diff
--- a/lisp/progmodes/hideif.el Mon Jan 26 10:29:25 1998 +0000 +++ b/lisp/progmodes/hideif.el Mon Jan 26 11:29:46 1998 +0000 @@ -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 @@ ;===%%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."