Variable: hs-find-next-block-func

hs-find-next-block-func is an alias and buffer-local for hs-find-next-block-function, defined in hideshow.el.gz.

This variable is obsolete since 31.1; use hs-find-next-block-function instead.

Documentation

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

It should reposition point at next block start.

It is called with three arguments REGEXP, BOUND, and COMMENTS. REGEXP is a regexp representing block start. When block start is found, match-data should be set using REGEXP. BOUND is a buffer position that limits the search. When COMMENTS is non-nil, REGEXP matches not only beginning of a block but also beginning of a comment. In this case, the function should find nearest block or comment and return non-nil.

Specifying this function is necessary for languages such as Python, where regexp search is not enough to find the beginning of the next block.

Aliases

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