Variable: hs-find-block-beginning-func

hs-find-block-beginning-func 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.

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/hideshow.el.gz
(defvar-local hs-find-block-beginning-func #'hs-find-block-beginning
  "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.")