end-of-defun-function

end-of-defun-function is a variable defined in `lisp.el'.
Its value is
#[0 "\300\301!\207" [forward-sexp 1] 2]

  • This variable may be risky if used as a file-local variable.

Documentation:
Function for `end-of-defun' to call.
This is used to find the end of the defun at point.
It is called with no argument, right after calling `beginning-of-defun-raw'.
So the function can assume that point is at the beginning of the defun body.
It should move point to the first position after the defun.