]> code.delx.au - gnu-emacs/commitdiff
(recentf-keep-non-readable-files-p): Quote args
authorGerd Moellmann <gerd@gnu.org>
Tue, 7 Mar 2000 12:34:58 +0000 (12:34 +0000)
committerGerd Moellmann <gerd@gnu.org>
Tue, 7 Mar 2000 12:34:58 +0000 (12:34 +0000)
to remove-hook and add-hook.

lisp/recentf.el

index 519127d1967208d364da3b11662d5b1e586d2298..07895c7ea9f4763ce58c857eff694949c7d41ba3 100644 (file)
@@ -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