Mercurial > emacs
changeset 28032:27dffce74906
(recentf-keep-non-readable-files-p): Quote args
to remove-hook and add-hook.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Tue, 07 Mar 2000 12:34:58 +0000 |
parents | 4b1aa29ef006 |
children | 403cc8481793 |
files | lisp/recentf.el |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/recentf.el Tue Mar 07 12:33:39 2000 +0000 +++ b/lisp/recentf.el Tue Mar 07 12:34:58 2000 +0000 @@ -143,8 +143,8 @@ :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