From: Richard M. Stallman Date: Sun, 6 Feb 2005 10:40:20 +0000 (+0000) Subject: (buffer-end): Doc fix. X-Git-Tag: ttn-vms-21-2-B4~2401 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=03deb635e5f09d262b7659c7e7572e62a504d99e;p=emacs.git (buffer-end): Doc fix. --- 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)