From 7841339b76ed0a7410d2af69fd19fc964382b708 Mon Sep 17 00:00:00 2001 From: Alan Mackenzie Date: Mon, 15 Jun 2009 09:05:17 +0000 Subject: [PATCH] Document changes to end-of-defun-function, clarifying entry for beginning-of-defun-function. --- etc/NEWS | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) 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. -- 2.39.2