diff options
| author | Gerd Moellmann | 2000-03-07 12:34:58 +0000 |
|---|---|---|
| committer | Gerd Moellmann | 2000-03-07 12:34:58 +0000 |
| commit | 17d7ad595123f60c3d4dfd180b1463d9ed8e456b (patch) | |
| tree | 6c26a96da12956ffda2c79ae9daa373ce792da30 | |
| parent | baaa1f1913fb3e9fed7c4d19d4b0939921a00038 (diff) | |
| download | emacs-17d7ad595123f60c3d4dfd180b1463d9ed8e456b.tar.gz emacs-17d7ad595123f60c3d4dfd180b1463d9ed8e456b.zip | |
(recentf-keep-non-readable-files-p): Quote args
to remove-hook and add-hook.
| -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." | |||
| 143 | :type 'boolean | 143 | :type 'boolean |
| 144 | :set '(lambda (sym val) | 144 | :set '(lambda (sym val) |
| 145 | (if val | 145 | (if val |
| 146 | (remove-hook kill-buffer-hook recentf-remove-file-hook) | 146 | (remove-hook 'kill-buffer-hook 'recentf-remove-file-hook) |
| 147 | (add-hook kill-buffer-hook recentf-remove-file-hook)) | 147 | (add-hook 'kill-buffer-hook 'recentf-remove-file-hook)) |
| 148 | (custom-set-default sym val))) | 148 | (custom-set-default sym val))) |
| 149 | 149 | ||
| 150 | (defcustom recentf-mode nil | 150 | (defcustom recentf-mode nil |