From: Alan Mackenzie Date: Mon, 15 Jun 2009 09:05:17 +0000 (+0000) Subject: Document changes to end-of-defun-function, clarifying entry for X-Git-Tag: emacs-pretest-23.0.95~50 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=7841339b76ed0a7410d2af69fd19fc964382b708;p=emacs.git Document changes to end-of-defun-function, clarifying entry for beginning-of-defun-function. --- diff --git a/etc/NEWS b/etc/NEWS index 979e8ed61cf..6f9573adc53 100644 --- 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. + * 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.