Variable: hs-find-block-beginning-function

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

Documentation

Function used to do hs-find-block-beginning.

It should reposition point at the beginning of the current block and return point, or nil if original point was not in a block.

Specifying this function is necessary for languages such as Python, where regexp search and syntax-ppss check is not enough to find the beginning of the current block.

Aliases

hs-find-block-beginning-func (obsolete since 31.1)

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/hideshow.el.gz
(defvar-local hs-find-block-beginning-function
  #'hs-find-block-beg-fn--default
  "Function used to do `hs-find-block-beginning'.
It should reposition point at the beginning of the current block
and return point, or nil if original point was not in a block.

Specifying this function is necessary for languages such as
Python, where regexp search and `syntax-ppss' check is not enough
to find the beginning of the current block.")