summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp')
-rw-r--r--lisp/emacs-lisp/lisp.el8
1 files changed, 3 insertions, 5 deletions
diff --git a/lisp/emacs-lisp/lisp.el b/lisp/emacs-lisp/lisp.el
index cc8185e4530..acae1a0b0a9 100644
--- a/lisp/emacs-lisp/lisp.el
+++ b/lisp/emacs-lisp/lisp.el
@@ -508,11 +508,9 @@ 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.")
(defvar end-of-defun-moves-to-eol t
- "Defines whether `end-of-defun' moves to eol before doing
-everything else.
-
-Set this to nil in major mode if this movement affects mode's
-decisions about context in an unwanted way.")
+ "Whether `end-of-defun' moves to eol before doing anything else.
+Set this to nil if this movement adversely affects the buffer's
+major mode's decisions about context.")
(defun buffer-end (arg)
"Return the \"far end\" position of the buffer, in direction ARG.