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-cursor, hide the block after cursor position.

This only has effect in hs-hide-block 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
(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-cursor', hide the block after cursor position.

This only has effect in `hs-hide-block' and `hs-toggle-hiding'
commands."
  :type
  '(choice
    (const :tag "Hide the block after cursor" after-cursor)
    (const :tag "Hide the block after beginning of current line" after-bol))
  :version "31.1")