Variable: hs-adjust-block-beginning-function

hs-adjust-block-beginning-function is a buffer-local variable defined in hideshow.el.gz.

Documentation

Function used to tweak the block beginning.

It is called at the beginning of the block (usually the current value of hs-block-start-regexp in the buffer) and should return the start position of the region in the buffer that will be hidden.

It is called with a single argument ARG which is the position in buffer after the block beginning.

Aliases

hs-adjust-block-beginning (obsolete since 31.1)

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/hideshow.el.gz
(defvar-local hs-adjust-block-beginning-function nil
  "Function used to tweak the block beginning.
It is called at the beginning of the block (usually the current value of
`hs-block-start-regexp' in the buffer) and should return the start
position of the region in the buffer that will be hidden.

It is called with a single argument ARG which is the position in
buffer after the block beginning.")