Variable: hs-hide-block-behavior

hs-hide-block-behavior is a customizable variable defined in hideshow.el.gz.

Value

after-bol

Documentation

How hideshow should hide a block.

If set to after-bol, hide the innermost block to which the current line belongs. If set to after-point, hide the block after point.

This affects only the hs-hide-block, hs-cycle, hs-hide-level and hs-toggle-hiding commands.

This variable was added, or its default value changed, in Emacs 31.1.

View in manual

Probably introduced at or before Emacs version 31.1.

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/hideshow.el.gz
;; This is only intended for backward compatibility (bug#80455)
(defcustom hs-hide-block-behavior 'after-bol
  "How hideshow should hide a block.
If set to `after-bol', hide the innermost block to which the current
line belongs.  If set to `after-point', hide the block after point.

This affects only the `hs-hide-block', `hs-cycle', `hs-hide-level' and
`hs-toggle-hiding' commands."
  :type
  '(choice
    (const :tag "Hide the block after point" after-point)
    (const :tag "Hide the block after beginning of current line" after-bol))
  :version "31.1")