Variable: hs-allow-nesting
hs-allow-nesting is a customizable variable defined in hideshow.el.gz.
Value
nil
Documentation
If non-nil, hiding remembers internal blocks.
This means that when the outer block is shown again, any previously hidden internal blocks remain hidden.
This variable was added, or its default value changed, in Emacs 31.1.
Probably introduced at or before Emacs version 22.1.
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/hideshow.el.gz
(defcustom hs-allow-nesting nil
"If non-nil, hiding remembers internal blocks.
This means that when the outer block is shown again,
any previously hidden internal blocks remain hidden."
:type 'boolean
:version "31.1")