Variable: end-of-defun-function
end-of-defun-function is a variable defined in lisp.el.gz.
Value
#[0 "\300\301!\207" [forward-sexp 1] 2]
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.
Probably introduced at or before Emacs version 21.1.
Source Code
;; Defined in /usr/src/emacs/lisp/emacs-lisp/lisp.el.gz
(defvar end-of-defun-function
(lambda () (forward-sexp 1))
"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.")