diff options
author | Gerd Moellmann <gerd@gnu.org> | 2000-03-07 12:34:58 +0000 |
---|---|---|
committer | Gerd Moellmann <gerd@gnu.org> | 2000-03-07 12:34:58 +0000 |
commit | 17d7ad595123f60c3d4dfd180b1463d9ed8e456b (patch) | |
tree | 6c26a96da12956ffda2c79ae9daa373ce792da30 /lisp/recentf.el | |
parent | baaa1f1913fb3e9fed7c4d19d4b0939921a00038 (diff) | |
download | emacs-17d7ad595123f60c3d4dfd180b1463d9ed8e456b.tar.gz |
(recentf-keep-non-readable-files-p): Quote args
to remove-hook and add-hook.
Diffstat (limited to 'lisp/recentf.el')
-rw-r--r-- | lisp/recentf.el | 4 |
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." :type 'boolean :set '(lambda (sym val) (if val - (remove-hook kill-buffer-hook recentf-remove-file-hook) - (add-hook kill-buffer-hook recentf-remove-file-hook)) + (remove-hook 'kill-buffer-hook 'recentf-remove-file-hook) + (add-hook 'kill-buffer-hook 'recentf-remove-file-hook)) (custom-set-default sym val))) (defcustom recentf-mode nil |