Mercurial > emacs
comparison lisp/emacs-lisp/lisp.el @ 102025:a41e65af8655
(end-of-defun-function): Docstring fix.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Sat, 14 Feb 2009 04:19:34 +0000 |
parents | db03a07a8e3e |
children | 4eb463737ac8 |
comparison
equal
deleted
inserted
replaced
102024:90de3cf60f68 | 102025:a41e65af8655 |
---|---|
312 (goto-char (if arg-+ve floor ceiling)) | 312 (goto-char (if arg-+ve floor ceiling)) |
313 nil)))))))) | 313 nil)))))))) |
314 | 314 |
315 (defvar end-of-defun-function #'forward-sexp | 315 (defvar end-of-defun-function #'forward-sexp |
316 "Function for `end-of-defun' to call. | 316 "Function for `end-of-defun' to call. |
317 This is used to find the end of the defun. | 317 This is used to find the end of the defun at point. |
318 It is called with no argument, right after calling `beginning-of-defun-raw'. | 318 It is called with no argument, right after calling `beginning-of-defun-raw'. |
319 So the function can assume that point is at the beginning of the defun body.") | 319 So the function can assume that point is at the beginning of the defun body. |
320 It should move point to the first position after the defun.") | |
320 | 321 |
321 (defun buffer-end (arg) | 322 (defun buffer-end (arg) |
322 "Return the \"far end\" position of the buffer, in direction ARG. | 323 "Return the \"far end\" position of the buffer, in direction ARG. |
323 If ARG is positive, that's the end of the buffer. | 324 If ARG is positive, that's the end of the buffer. |
324 Otherwise, that's the beginning of the buffer." | 325 Otherwise, that's the beginning of the buffer." |