# HG changeset patch # User Stefan Monnier # Date 1236096722 0 # Node ID 36437490ed93965ceda3290442b53e9b2e4208c6 # Parent 762408a9ef5d8c0112bff0ab5ff4f562a1a8376d (end-of-defun-function): Make it more clear that the function takes no argument. diff -r 762408a9ef5d -r 36437490ed93 lisp/ChangeLog --- a/lisp/ChangeLog Tue Mar 03 15:47:54 2009 +0000 +++ b/lisp/ChangeLog Tue Mar 03 16:12:02 2009 +0000 @@ -1,3 +1,8 @@ +2009-03-03 Stefan Monnier + + * emacs-lisp/lisp.el (end-of-defun-function): Make it more clear that + the function takes no argument. + 2009-03-03 Glenn Morris * mail/rmail.el (rmail-highlighted-headers, rmail-highlight) @@ -451,7 +456,7 @@ 2009-02-17 Miles Bader - * emacs-lisp/copyright.el (copyright-regexp): Tweaked to match + * emacs-lisp/copyright.el (copyright-regexp): Tweak to match copyright statements where the years follow the name. 2009-02-17 Glenn Morris @@ -461,8 +466,8 @@ * mail/rmailout.el (rmail-fields-not-to-output): Doc fix. (rmail-delete-unwanted-fields): Ignore case. Use line-beg-pos. - (rmail-output, rmail-output-as-seen): Change the "from-gnus" argument to - "not-rmail", and make it work. Simplify. + (rmail-output, rmail-output-as-seen): Change the "from-gnus" argument + to "not-rmail", and make it work. Simplify. (rmail-mbox-from): New function. (rmail-output-as-mbox): Use rmail-mbox-from. (rmail-output): Ensure a From line in the not-rmail Babyl case. @@ -472,8 +477,8 @@ 2009-02-16 Ulf Jasper - * net/newst-treeview.el (newsticker--treeview-load): Offer - deletion of old groups file. + * net/newst-treeview.el (newsticker--treeview-load): + Offer deletion of old groups file. 2009-02-16 Glenn Morris @@ -488,8 +493,8 @@ * mail/rmailsum.el (rmail-summary-output-as-seen): Doc fix. * mail/rmailout.el (rmail-output-decode-coding): Fix custom type, group. - (rmail-output-as-babyl, rmail-output-to-babyl-buffer): Remove - unnecessary use of with-no-warnings. + (rmail-output-as-babyl, rmail-output-to-babyl-buffer): + Remove unnecessary use of with-no-warnings. (rmail-output-as-mbox, rmail-output-as-seen): Doc fix. (rmail-output-as-mbox): Start search from point-min. If constructing a "From " line, prefer the date header over the current time. diff -r 762408a9ef5d -r 36437490ed93 lisp/emacs-lisp/lisp.el --- a/lisp/emacs-lisp/lisp.el Tue Mar 03 15:47:54 2009 +0000 +++ b/lisp/emacs-lisp/lisp.el Tue Mar 03 16:12:02 2009 +0000 @@ -313,7 +313,8 @@ (goto-char (if arg-+ve floor ceiling)) nil)))))))) -(defvar end-of-defun-function #'forward-sexp +(defvar end-of-defun-function + (lambda () (forward-sexp 1)) "Function for `end-of-defun' to call. This is used to find the end of the defun at point. It is called with no argument, right after calling `beginning-of-defun-raw'.