(end-of-defun-function): Make it more clear that
authorStefan Monnier <monnier@iro.umontreal.ca>
Tue, 3 Mar 2009 16:12:02 +0000 (16:12 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Tue, 3 Mar 2009 16:12:02 +0000 (16:12 +0000)
the function takes no argument.

lisp/ChangeLog
lisp/emacs-lisp/lisp.el

index 6e32360..eecf3ea 100644 (file)
@@ -1,3 +1,8 @@
+2009-03-03  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * emacs-lisp/lisp.el (end-of-defun-function): Make it more clear that
+       the function takes no argument.
+
 2009-03-03  Glenn Morris  <rgm@gnu.org>
 
        * mail/rmail.el (rmail-highlighted-headers, rmail-highlight)
 
 2009-02-17  Miles Bader  <miles@gnu.org>
 
-       * 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  <rgm@gnu.org>
 
        * 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.
 
 2009-02-16  Ulf Jasper  <ulf.jasper@web.de>
 
-       * 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  <rgm@gnu.org>
 
        * 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.
index f11c991..6de82b4 100644 (file)
@@ -313,7 +313,8 @@ is called as a function to find the defun's beginning."
             (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'.