Variable: hs-forward-sexp-function

hs-forward-sexp-function is a buffer-local variable defined in hideshow.el.gz.

Documentation

Function used to reposition point to the end of the region to hide.

For backward compatibility, the function is called with one argument, which can be ignored.

The function is called in front of the beginning of the block (usually the current value of hs-block-start-regexp in the buffer) and should reposition point to the end of the block.

Probably introduced at or before Emacs version 31.1.

Aliases

hs-forward-sexp-func (obsolete since 31.1)

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/hideshow.el.gz
(defvar-local hs-forward-sexp-function #'forward-sexp
  "Function used to reposition point to the end of the region to hide.
For backward compatibility, the function is called with one argument,
which can be ignored.

The function is called in front of the beginning of the block (usually the
current value of `hs-block-start-regexp' in the buffer) and should
reposition point to the end of the block.")