diff options
| author | Stefan Monnier <monnier@iro.umontreal.ca> | 2008-05-02 17:22:04 +0000 |
|---|---|---|
| committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2008-05-02 17:22:04 +0000 |
| commit | 2d2c939fd5afbaa21b81e18e326453d7b4aefe82 (patch) | |
| tree | 67bcd98c33e72bc3f44c7f83fc998f49315ee838 /lisp/files.el | |
| parent | b803d52d1d2314d54ad3706597c0e9837ed3db45 (diff) | |
| download | emacs-2d2c939fd5afbaa21b81e18e326453d7b4aefe82.tar.gz | |
(minibuffer-with-setup-hook): Allow `fun' expressions rather than only value.
Diffstat (limited to 'lisp/files.el')
| -rw-r--r-- | lisp/files.el | 2 |
1 files changed, 1 insertions, 1 deletions
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) |
