From 2d2c939fd5afbaa21b81e18e326453d7b4aefe82 Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Fri, 2 May 2008 17:22:04 +0000 Subject: (minibuffer-with-setup-hook): Allow `fun' expressions rather than only value. --- lisp/files.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lisp/files.el') diff --git a/lisp/files.el b/lisp/files.el index 38eb95fe9bd..221074ae329 100644 --- a/lisp/files.el +++ b/lisp/files.el @@ -1124,7 +1124,7 @@ Recursive uses of the minibuffer will not be affected." ;; Clear out this hook so it does not interfere ;; with any recursive minibuffer usage. (remove-hook 'minibuffer-setup-hook ,hook) - (,fun))) + (funcall ,fun))) (unwind-protect (progn (add-hook 'minibuffer-setup-hook ,hook) -- cgit v1.2.1