Variable: hs-looking-at-block-start-predicate
hs-looking-at-block-start-predicate 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 and set match data with the beginning and end of that position.
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.
Aliases
hs-looking-at-block-start-p-func (obsolete since 31.1)
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/hideshow.el.gz
(defvar-local hs-looking-at-block-start-predicate
#'hs-looking-at-block-start-p--default
"Function used to do `hs-looking-at-block-start-p'.
It should return non-nil if the point is at the block start and set
match data with the beginning and end of that position.
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.")