comparison lisp/emacs-lisp/lisp.el @ 59940:60ab67d8cf3a

(buffer-end): Doc fix.
author Richard M. Stallman <rms@gnu.org>
date Sun, 06 Feb 2005 10:40:20 +0000
parents 99bf07f49031
children 99b039f2f040 3ebd9bdb4fe5
comparison
equal deleted inserted replaced
59939:b9511a236e82 59940:60ab67d8cf3a
231 This is used to find the end of the defun instead of using the normal 231 This is used to find the end of the defun instead of using the normal
232 recipe (see `end-of-defun'). Major modes can define this if the 232 recipe (see `end-of-defun'). Major modes can define this if the
233 normal method is not appropriate.") 233 normal 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.
237 If ARG is positive, that's the end of the buffer.
238 Otherwise, 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)
239 "Move forward to next end of defun. With argument, do it that many times. 242 "Move forward to next end of defun. With argument, do it that many times.
240 Negative argument -N means move back to Nth preceding end of defun. 243 Negative argument -N means move back to Nth preceding end of defun.