From 17d7ad595123f60c3d4dfd180b1463d9ed8e456b Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Tue, 7 Mar 2000 12:34:58 +0000 Subject: [PATCH] (recentf-keep-non-readable-files-p): Quote args to remove-hook and add-hook. --- lisp/recentf.el | 4 ++-- 1 file 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 -- 2.39.5