]> git.eshelyaron.com Git - emacs.git/commitdiff
(List Motion): beginning-of-defun-function can now accept an argument.
authorEli Zaretskii <eliz@gnu.org>
Wed, 15 Oct 2008 15:00:53 +0000 (15:00 +0000)
committerEli Zaretskii <eliz@gnu.org>
Wed, 15 Oct 2008 15:00:53 +0000 (15:00 +0000)
doc/lispref/ChangeLog
doc/lispref/positions.texi
etc/NEWS

index a0ffb90ffba7659b28d131fecbb7997f124d33bc..6a2646251127d845a168e07cf58ec89e930f7199 100644 (file)
@@ -1,5 +1,8 @@
 2008-10-15  Eli Zaretskii  <eliz@gnu.org>
 
+       * 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.
 
index 2729b66e7464368ed5129d48db54cdd896a241ad..452d6e4ca3c1327284056b343a5c3d74ee95fdd1 100644 (file)
@@ -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
index 151f9a096c7c4439c05d2aeeb67ad8b25bca7fc2..f4c401b43c9aeafb208a084c2f5b63b8853ea1ba 100644 (file)
--- 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'.