# HG changeset patch # User Eli Zaretskii # Date 1224082796 0 # Node ID 80897ed31905feb0d43414ca4c8fc0967a399ba3 # Parent 02ddcdf10a75e30099c246c5fc0e461290d7e4a1 (List Motion): beginning-of-defun-function can now accept an argument. diff -r 02ddcdf10a75 -r 80897ed31905 doc/lispref/positions.texi --- a/doc/lispref/positions.texi Wed Oct 15 14:44:02 2008 +0000 +++ b/doc/lispref/positions.texi Wed Oct 15 14:59:56 2008 +0000 @@ -737,7 +737,10 @@ @defvar beginning-of-defun-function If non-@code{nil}, this variable holds a function for finding the beginning of a defun. The function @code{beginning-of-defun} -calls this function instead of using its normal method. +calls this function instead of using its normal method, passing it its +optional argument. If the argument is non-@code{nil}, the function +should move back by that many functions, like +@code{beginning-of-defun} does. @end defvar @defvar end-of-defun-function