aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman2005-02-06 10:40:20 +0000
committerRichard M. Stallman2005-02-06 10:40:20 +0000
commit03deb635e5f09d262b7659c7e7572e62a504d99e (patch)
treeceef3770cb6fbd37efe286482f1b4df5f03e5980
parent7483daa1481990d5ecb7ea41c2469838714cba5d (diff)
downloademacs-03deb635e5f09d262b7659c7e7572e62a504d99e.tar.gz
emacs-03deb635e5f09d262b7659c7e7572e62a504d99e.zip
(buffer-end): Doc fix.
-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)