comparison lisp/emacs-lisp/lisp.el @ 90103:3ebd9bdb4fe5

Revision: miles@gnu.org--gnu-2005/emacs--unicode--0--patch-13 Merge from emacs--cvs-trunk--0 Patches applied: * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-83 - miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-89 Update from CVS * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-90 Update from CVS: man/calc.texi: Add macro for LaTeX for info output. * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-91 - miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-94 Update from CVS
author Miles Bader <miles@gnu.org>
date Sun, 13 Feb 2005 07:19:08 +0000
parents 6d92d69fae33 60ab67d8cf3a
children 02f1dbc4a199
comparison
equal deleted inserted replaced
90102:9b4f359c4117 90103:3ebd9bdb4fe5
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.