From: Gerd Moellmann Date: Tue, 7 Mar 2000 12:34:58 +0000 (+0000) Subject: (recentf-keep-non-readable-files-p): Quote args X-Git-Tag: emacs-pretest-21.0.90~4738 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=17d7ad595123f60c3d4dfd180b1463d9ed8e456b;p=emacs.git (recentf-keep-non-readable-files-p): Quote args to remove-hook and add-hook. --- 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