aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGerd Moellmann2000-03-07 12:34:58 +0000
committerGerd Moellmann2000-03-07 12:34:58 +0000
commit17d7ad595123f60c3d4dfd180b1463d9ed8e456b (patch)
tree6c26a96da12956ffda2c79ae9daa373ce792da30
parentbaaa1f1913fb3e9fed7c4d19d4b0939921a00038 (diff)
downloademacs-17d7ad595123f60c3d4dfd180b1463d9ed8e456b.tar.gz
emacs-17d7ad595123f60c3d4dfd180b1463d9ed8e456b.zip
(recentf-keep-non-readable-files-p): Quote args
to remove-hook and add-hook.
-rw-r--r--lisp/recentf.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/recentf.el b/lisp/recentf.el
index 519127d1967..07895c7ea9f 100644
--- a/lisp/recentf.el
+++ b/lisp/recentf.el
@@ -143,8 +143,8 @@ displayed in the menu and must return a new list of filenames."
143 :type 'boolean 143 :type 'boolean
144 :set '(lambda (sym val) 144 :set '(lambda (sym val)
145 (if val 145 (if val
146 (remove-hook kill-buffer-hook recentf-remove-file-hook) 146 (remove-hook 'kill-buffer-hook 'recentf-remove-file-hook)
147 (add-hook kill-buffer-hook recentf-remove-file-hook)) 147 (add-hook 'kill-buffer-hook 'recentf-remove-file-hook))
148 (custom-set-default sym val))) 148 (custom-set-default sym val)))
149 149
150(defcustom recentf-mode nil 150(defcustom recentf-mode nil