Variable: hs-looking-at-block-start-p-func

hs-looking-at-block-start-p-func is a buffer-local variable defined in hideshow.el.gz.

Documentation

Function used to do hs-looking-at-block-start-p.

It should return non-nil if the point is at the block start.

Specifying this function is necessary for languages such as Python, where looking-at and syntax-ppss check is not enough to check if the point is at the block start.

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/hideshow.el.gz
(defvar-local hs-looking-at-block-start-p-func #'hs-looking-at-block-start-p
  "Function used to do `hs-looking-at-block-start-p'.
It should return non-nil if the point is at the block start.

Specifying this function is necessary for languages such as
Python, where `looking-at' and `syntax-ppss' check is not enough
to check if the point is at the block start.")