summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/lisp.el
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2022-08-06 09:40:07 +0300
committerEli Zaretskii <eliz@gnu.org>2022-08-06 09:40:07 +0300
commit564571f712fcf0ffcb93eeca67f7716263c9def5 (patch)
tree218240f90af7a0d776bb4252d14c038da5ea8bf4 /lisp/emacs-lisp/lisp.el
parente46668847d8973b46f35d673e8156c05cecf7a27 (diff)
downloademacs-564571f712fcf0ffcb93eeca67f7716263c9def5.tar.gz
; * lisp/emacs-lisp/lisp.el (end-of-defun-moves-to-eol): Doc fix.
Diffstat (limited to 'lisp/emacs-lisp/lisp.el')
-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.