diff options
| author | Stefan Monnier | 2009-03-03 16:12:02 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2009-03-03 16:12:02 +0000 |
| commit | 7bbab3e051d1d5911332ba4314aa2830c8d7af55 (patch) | |
| tree | 7d99fbce942a5f3f29b69105a7ada955a2f76db5 | |
| parent | 9b2c84d6456f5c800718114c730fbbb883972abc (diff) | |
| download | emacs-7bbab3e051d1d5911332ba4314aa2830c8d7af55.tar.gz emacs-7bbab3e051d1d5911332ba4314aa2830c8d7af55.zip | |
(end-of-defun-function): Make it more clear that
the function takes no argument.
| -rw-r--r-- | lisp/ChangeLog | 19 | ||||
| -rw-r--r-- | lisp/emacs-lisp/lisp.el | 3 |
2 files changed, 14 insertions, 8 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 6e32360325f..eecf3ea0a66 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2009-03-03 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 2 | |||
| 3 | * emacs-lisp/lisp.el (end-of-defun-function): Make it more clear that | ||
| 4 | the function takes no argument. | ||
| 5 | |||
| 1 | 2009-03-03 Glenn Morris <rgm@gnu.org> | 6 | 2009-03-03 Glenn Morris <rgm@gnu.org> |
| 2 | 7 | ||
| 3 | * mail/rmail.el (rmail-highlighted-headers, rmail-highlight) | 8 | * mail/rmail.el (rmail-highlighted-headers, rmail-highlight) |
| @@ -451,7 +456,7 @@ | |||
| 451 | 456 | ||
| 452 | 2009-02-17 Miles Bader <miles@gnu.org> | 457 | 2009-02-17 Miles Bader <miles@gnu.org> |
| 453 | 458 | ||
| 454 | * emacs-lisp/copyright.el (copyright-regexp): Tweaked to match | 459 | * emacs-lisp/copyright.el (copyright-regexp): Tweak to match |
| 455 | copyright statements where the years follow the name. | 460 | copyright statements where the years follow the name. |
| 456 | 461 | ||
| 457 | 2009-02-17 Glenn Morris <rgm@gnu.org> | 462 | 2009-02-17 Glenn Morris <rgm@gnu.org> |
| @@ -461,8 +466,8 @@ | |||
| 461 | 466 | ||
| 462 | * mail/rmailout.el (rmail-fields-not-to-output): Doc fix. | 467 | * mail/rmailout.el (rmail-fields-not-to-output): Doc fix. |
| 463 | (rmail-delete-unwanted-fields): Ignore case. Use line-beg-pos. | 468 | (rmail-delete-unwanted-fields): Ignore case. Use line-beg-pos. |
| 464 | (rmail-output, rmail-output-as-seen): Change the "from-gnus" argument to | 469 | (rmail-output, rmail-output-as-seen): Change the "from-gnus" argument |
| 465 | "not-rmail", and make it work. Simplify. | 470 | to "not-rmail", and make it work. Simplify. |
| 466 | (rmail-mbox-from): New function. | 471 | (rmail-mbox-from): New function. |
| 467 | (rmail-output-as-mbox): Use rmail-mbox-from. | 472 | (rmail-output-as-mbox): Use rmail-mbox-from. |
| 468 | (rmail-output): Ensure a From line in the not-rmail Babyl case. | 473 | (rmail-output): Ensure a From line in the not-rmail Babyl case. |
| @@ -472,8 +477,8 @@ | |||
| 472 | 477 | ||
| 473 | 2009-02-16 Ulf Jasper <ulf.jasper@web.de> | 478 | 2009-02-16 Ulf Jasper <ulf.jasper@web.de> |
| 474 | 479 | ||
| 475 | * net/newst-treeview.el (newsticker--treeview-load): Offer | 480 | * net/newst-treeview.el (newsticker--treeview-load): |
| 476 | deletion of old groups file. | 481 | Offer deletion of old groups file. |
| 477 | 482 | ||
| 478 | 2009-02-16 Glenn Morris <rgm@gnu.org> | 483 | 2009-02-16 Glenn Morris <rgm@gnu.org> |
| 479 | 484 | ||
| @@ -488,8 +493,8 @@ | |||
| 488 | * mail/rmailsum.el (rmail-summary-output-as-seen): Doc fix. | 493 | * mail/rmailsum.el (rmail-summary-output-as-seen): Doc fix. |
| 489 | 494 | ||
| 490 | * mail/rmailout.el (rmail-output-decode-coding): Fix custom type, group. | 495 | * mail/rmailout.el (rmail-output-decode-coding): Fix custom type, group. |
| 491 | (rmail-output-as-babyl, rmail-output-to-babyl-buffer): Remove | 496 | (rmail-output-as-babyl, rmail-output-to-babyl-buffer): |
| 492 | unnecessary use of with-no-warnings. | 497 | Remove unnecessary use of with-no-warnings. |
| 493 | (rmail-output-as-mbox, rmail-output-as-seen): Doc fix. | 498 | (rmail-output-as-mbox, rmail-output-as-seen): Doc fix. |
| 494 | (rmail-output-as-mbox): Start search from point-min. If constructing a | 499 | (rmail-output-as-mbox): Start search from point-min. If constructing a |
| 495 | "From " line, prefer the date header over the current time. | 500 | "From " line, prefer the date header over the current time. |
diff --git a/lisp/emacs-lisp/lisp.el b/lisp/emacs-lisp/lisp.el index f11c99100a1..6de82b43c3d 100644 --- a/lisp/emacs-lisp/lisp.el +++ b/lisp/emacs-lisp/lisp.el | |||
| @@ -313,7 +313,8 @@ is called as a function to find the defun's beginning." | |||
| 313 | (goto-char (if arg-+ve floor ceiling)) | 313 | (goto-char (if arg-+ve floor ceiling)) |
| 314 | nil)))))))) | 314 | nil)))))))) |
| 315 | 315 | ||
| 316 | (defvar end-of-defun-function #'forward-sexp | 316 | (defvar end-of-defun-function |
| 317 | (lambda () (forward-sexp 1)) | ||
| 317 | "Function for `end-of-defun' to call. | 318 | "Function for `end-of-defun' to call. |
| 318 | This is used to find the end of the defun at point. | 319 | This is used to find the end of the defun at point. |
| 319 | It is called with no argument, right after calling `beginning-of-defun-raw'. | 320 | It is called with no argument, right after calling `beginning-of-defun-raw'. |