summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/lisp.el
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2009-02-14 04:19:34 +0000
committerStefan Monnier <monnier@iro.umontreal.ca>2009-02-14 04:19:34 +0000
commit6d3e4d2287491fad07f55dc28f4510b0daded046 (patch)
tree252c070750badf39402b0fe652292e21f1dd8252 /lisp/emacs-lisp/lisp.el
parent1945c7a74c82d7e41af182ffae066642d51baaab (diff)
downloademacs-6d3e4d2287491fad07f55dc28f4510b0daded046.tar.gz
(end-of-defun-function): Docstring fix.
Diffstat (limited to 'lisp/emacs-lisp/lisp.el')
-rw-r--r--lisp/emacs-lisp/lisp.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/lisp/emacs-lisp/lisp.el b/lisp/emacs-lisp/lisp.el
index 8c263881499..219f0253ff4 100644
--- a/lisp/emacs-lisp/lisp.el
+++ b/lisp/emacs-lisp/lisp.el
@@ -314,9 +314,10 @@ is called as a function to find the defun's beginning."
(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.