Variable: hs-isearch-open

hs-isearch-open is a customizable variable defined in hideshow.el.gz.

Value

code

Documentation

What kind of hidden blocks to open when doing isearch.

One of the following symbols:

  code -- open only code blocks
  comment -- open only comment blocks
  t -- open both code and comment blocks
  nil -- open neither code nor comment blocks

This has effect only if search-invisible is set to open.

Probably introduced at or before Emacs version 20.1.

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/hideshow.el.gz
(defcustom hs-isearch-open 'code
  "What kind of hidden blocks to open when doing `isearch'.
One of the following symbols:

  code    -- open only code blocks
  comment -- open only comment blocks
  t       -- open both code and comment blocks
  nil     -- open neither code nor comment blocks

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)))