diff lisp/emacs-lisp/lisp.el @ 102381:36437490ed93

(end-of-defun-function): Make it more clear that the function takes no argument.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Tue, 03 Mar 2009 16:12:02 +0000
parents 75c910c62eaa
children cce8d50c4566
line wrap: on
line diff
--- 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'.