changeset 102025:a41e65af8655

(end-of-defun-function): Docstring fix.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Sat, 14 Feb 2009 04:19:34 +0000
parents 90de3cf60f68
children 55b8ba83f74b
files lisp/emacs-lisp/lisp.el
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/emacs-lisp/lisp.el	Sat Feb 14 04:01:53 2009 +0000
+++ b/lisp/emacs-lisp/lisp.el	Sat Feb 14 04:19:34 2009 +0000
@@ -314,9 +314,10 @@
 
 (defvar end-of-defun-function #'forward-sexp
   "Function for `end-of-defun' to call.
-This is used to find the end of the defun.
+This is used to find the end of the defun at point.
 It is called with no argument, right after calling `beginning-of-defun-raw'.
-So the function can assume that point is at the beginning of the defun body.")
+So the function can assume that point is at the beginning of the defun body.
+It should move point to the first position after the defun.")
 
 (defun buffer-end (arg)
   "Return the \"far end\" position of the buffer, in direction ARG.