diff options
Diffstat (limited to 'lisp/progmodes/hideshow.el')
-rw-r--r-- | lisp/progmodes/hideshow.el | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/lisp/progmodes/hideshow.el b/lisp/progmodes/hideshow.el index 73d09e00591..b2557587c6c 100644 --- a/lisp/progmodes/hideshow.el +++ b/lisp/progmodes/hideshow.el @@ -232,13 +232,11 @@ (defcustom hs-hide-comments-when-hiding-all t "Hide the comments too when you do an `hs-hide-all'." - :type 'boolean - :group 'hideshow) + :type 'boolean) (defcustom hs-minor-mode-hook nil "Hook called when hideshow minor mode is activated or deactivated." :type 'hook - :group 'hideshow :version "21.1") (defcustom hs-isearch-open 'code @@ -254,8 +252,7 @@ This has effect only if `search-invisible' is set to `open'." :type '(choice (const :tag "open only code blocks" code) (const :tag "open only comment blocks" comment) (const :tag "open both code and comment blocks" t) - (const :tag "don't open any of them" nil)) - :group 'hideshow) + (const :tag "don't open any of them" nil))) ;;;###autoload (defvar hs-special-modes-alist @@ -313,7 +310,7 @@ a block), `hs-hide-all', `hs-hide-block' and `hs-hide-level'.") These commands include the toggling commands (when the result is to show a block), `hs-show-all' and `hs-show-block'.") -(defvar hs-set-up-overlay #'ignore +(defcustom hs-set-up-overlay #'ignore "Function called with one arg, OV, a newly initialized overlay. Hideshow puts a unique overlay on each range of text to be hidden in the buffer. Here is a simple example of how to use this variable: @@ -329,7 +326,9 @@ in the buffer. Here is a simple example of how to use this variable: This example shows how to get information from the overlay as well as how to set its `display' property. See `hs-make-overlay' and -info node `(elisp)Overlays'.") +info node `(elisp)Overlays'." + :type 'function + :version "28.1") ;;--------------------------------------------------------------------------- ;; internal variables |