]> git.eshelyaron.com Git - emacs.git/commitdiff
Document changes to end-of-defun-function, clarifying entry for
authorAlan Mackenzie <acm@muc.de>
Mon, 15 Jun 2009 09:05:17 +0000 (09:05 +0000)
committerAlan Mackenzie <acm@muc.de>
Mon, 15 Jun 2009 09:05:17 +0000 (09:05 +0000)
beginning-of-defun-function.

etc/NEWS

index 979e8ed61cf55e664950b0ef958350dfcc9f8a59..6f9573adc5358014d8d407e0220c59f341606b1d 100644 (file)
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -1325,6 +1325,11 @@ temporary-file-directory instead.
 removed.  The function now takes extra arguments for specifying
 arbitrary abbrev properties.
 
+** end-of-defun-function is now guaranteed to work only when called
+from the start of a defun.  It must now leave point exactly at the end
+of defun, since `end-of-defun' now itself moves forward over
+whitespace after calling it.
+
 \f
 * Lisp Changes in Emacs 23.1
 
@@ -1383,8 +1388,9 @@ 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'.
+** `beginning-of-defun-function' now takes one argument, the count given to
+`beginning-of-defun'.  (N.B. `end-of-defun-function' doesn't take any
+arguments.)
 
 +++
 ** `file-remote-p' has new optional parameters IDENTIFICATION and CONNECTED.