From 6d3e4d2287491fad07f55dc28f4510b0daded046 Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Sat, 14 Feb 2009 04:19:34 +0000 Subject: [PATCH] (end-of-defun-function): Docstring fix. --- lisp/emacs-lisp/lisp.el | 5 +++-- 1 file 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. -- 2.11.4.GIT