# HG changeset patch # User Alan Mackenzie # Date 1245056717 0 # Node ID 8f7555e94264a2c689960aaf9c4ba8a54fb2c425 # Parent 1570550a0a06eec87c59deaba87dcbd9aa551ef6 Document changes to end-of-defun-function, clarifying entry for beginning-of-defun-function. diff -r 1570550a0a06 -r 8f7555e94264 etc/NEWS --- a/etc/NEWS Mon Jun 15 09:04:05 2009 +0000 +++ b/etc/NEWS Mon Jun 15 09:05:17 2009 +0000 @@ -1325,6 +1325,11 @@ 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 @@ ** 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.