From: Eli Zaretskii Date: Wed, 15 Oct 2008 15:00:53 +0000 (+0000) Subject: (List Motion): beginning-of-defun-function can now accept an argument. X-Git-Tag: emacs-pretest-23.0.90~2465 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=52441368d6fec82d39b657899bda401b7b854176;p=emacs.git (List Motion): beginning-of-defun-function can now accept an argument. --- diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog index a0ffb90ffba..6a264625112 100644 --- a/doc/lispref/ChangeLog +++ b/doc/lispref/ChangeLog @@ -1,5 +1,8 @@ 2008-10-15 Eli Zaretskii + * positions.texi (List Motion): beginning-of-defun-function can + now accept an argument. + * text.texi (Low-Level Kill Ring): interprogram-paste-function can now return a list of strings. diff --git a/doc/lispref/positions.texi b/doc/lispref/positions.texi index 2729b66e746..452d6e4ca3c 100644 --- a/doc/lispref/positions.texi +++ b/doc/lispref/positions.texi @@ -737,7 +737,10 @@ The default is @code{t}. @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 diff --git a/etc/NEWS b/etc/NEWS index 151f9a096c7..f4c401b43c9 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -1148,6 +1148,7 @@ like this: +++ ** clone-indirect-buffer now runs the clone-indirect-buffer-hook. ++++ ** `beginning-of-defun-function' now takes one argument, the count given to `beginning-of-defun'.