summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>2005-02-06 10:40:20 +0000
committerRichard M. Stallman <rms@gnu.org>2005-02-06 10:40:20 +0000
commit03deb635e5f09d262b7659c7e7572e62a504d99e (patch)
treeceef3770cb6fbd37efe286482f1b4df5f03e5980 /lisp
parent7483daa1481990d5ecb7ea41c2469838714cba5d (diff)
downloademacs-03deb635e5f09d262b7659c7e7572e62a504d99e.tar.gz
(buffer-end): Doc fix.
Diffstat (limited to 'lisp')
-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
normal method is not appropriate.")
(defun buffer-end (arg)
+ "Return the \"far end\" position of the buffer, moving in direction ARG.
+If ARG is positive, that's the end of the buffer.
+Otherwise, that's the beginning of the buffer."
(if (> arg 0) (point-max) (point-min)))
(defun end-of-defun (&optional arg)