Mercurial > emacs
comparison lisp/emacs-lisp/lisp.el @ 88123:375f2633d815
New directory
author | Kenichi Handa <handa@m17n.org> |
---|---|
date | Mon, 08 Sep 2003 11:56:09 +0000 |
parents | 695cf19ef79e |
children | 68c22ea6027c |
comparison
equal
deleted
inserted
replaced
52428:27bc8b966642 | 88123:375f2633d815 |
---|---|
155 This is used to find the beginning of the defun instead of using the | 155 This is used to find the beginning of the defun instead of using the |
156 normal recipe (see `beginning-of-defun'). Major modes can define this | 156 normal recipe (see `beginning-of-defun'). Major modes can define this |
157 if defining `defun-prompt-regexp' is not sufficient to handle the mode's | 157 if defining `defun-prompt-regexp' is not sufficient to handle the mode's |
158 needs. | 158 needs. |
159 | 159 |
160 The function (of no args) should go to the line on which the current | 160 The function should go to the line on which the current defun starts, |
161 defun starts, and return non-nil, or should return nil if it can't | 161 and return non-nil, or should return nil if it can't find the beginning.") |
162 find the beginning.") | |
163 | 162 |
164 (defun beginning-of-defun (&optional arg) | 163 (defun beginning-of-defun (&optional arg) |
165 "Move backward to the beginning of a defun. | 164 "Move backward to the beginning of a defun. |
166 With ARG, do it that many times. Negative arg -N | 165 With ARG, do it that many times. Negative arg -N |
167 means move forward to Nth following beginning of defun. | 166 means move forward to Nth following beginning of defun. |
444 (setq list (nreverse new)))) | 443 (setq list (nreverse new)))) |
445 (with-output-to-temp-buffer "*Completions*" | 444 (with-output-to-temp-buffer "*Completions*" |
446 (display-completion-list list))) | 445 (display-completion-list list))) |
447 (message "Making completion list...%s" "done"))))))) | 446 (message "Making completion list...%s" "done"))))))) |
448 | 447 |
449 ;;; arch-tag: aa7fa8a4-2e6f-4e9b-9cd9-fef06340e67e | |
450 ;;; lisp.el ends here | 448 ;;; lisp.el ends here |