aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/emacs-lisp/lisp.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/lisp/emacs-lisp/lisp.el b/lisp/emacs-lisp/lisp.el
index d19eace5824..d0a2fdc01da 100644
--- a/lisp/emacs-lisp/lisp.el
+++ b/lisp/emacs-lisp/lisp.el
@@ -233,6 +233,9 @@ recipe (see `end-of-defun'). Major modes can define this if the
233normal method is not appropriate.") 233normal method is not appropriate.")
234 234
235(defun buffer-end (arg) 235(defun buffer-end (arg)
236 "Return the \"far end\" position of the buffer, moving in direction ARG.
237If ARG is positive, that's the end of the buffer.
238Otherwise, that's the beginning of the buffer."
236 (if (> arg 0) (point-max) (point-min))) 239 (if (> arg 0) (point-max) (point-min)))
237 240
238(defun end-of-defun (&optional arg) 241(defun end-of-defun (&optional arg)