From 7bbab3e051d1d5911332ba4314aa2830c8d7af55 Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Tue, 3 Mar 2009 16:12:02 +0000 Subject: (end-of-defun-function): Make it more clear that the function takes no argument. --- lisp/emacs-lisp/lisp.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lisp/emacs-lisp/lisp.el') 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." (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'. -- cgit v1.2.3