Variable: hs-forward-sexp-function

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

Documentation

Function used to do a forward-sexp.

It is called with 1 argument (like forward-sexp).

Should change for Algol-ish modes. For single-character block delimiters such as ( and ) hs-forward-sexp-function would just be forward-sexp. For other modes such as simula, a more specialized function is necessary.

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 do a `forward-sexp'.
It is called with 1 argument (like `forward-sexp').

Should change for Algol-ish modes.  For single-character block
delimiters such as `(' and `)' `hs-forward-sexp-function' would just be
`forward-sexp'.  For other modes such as simula, a more specialized
function is necessary.")