diff options
author | Gerd Moellmann <gerd@gnu.org> | 2000-03-12 16:18:34 +0000 |
---|---|---|
committer | Gerd Moellmann <gerd@gnu.org> | 2000-03-12 16:18:34 +0000 |
commit | 26e548de5bc1e34cc04cd4f51c6b8a6b5f2bce39 (patch) | |
tree | 3a810dc51010fa52ef375dade119a918073d2ac1 /lisp/recentf.el | |
parent | 055e8d322db7b6dc78249c8012c1019e97850141 (diff) | |
download | emacs-26e548de5bc1e34cc04cd4f51c6b8a6b5f2bce39.tar.gz |
(recentf-keep-non-readable-files-p): Remove
double/nested definition.
Diffstat (limited to 'lisp/recentf.el')
-rw-r--r-- | lisp/recentf.el | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/lisp/recentf.el b/lisp/recentf.el index aef080334bd..16be807c73c 100644 --- a/lisp/recentf.el +++ b/lisp/recentf.el @@ -141,18 +141,13 @@ displayed in the menu and must return a new list of filenames." "*If nil (default), non-readable files are not kept in `recentf-list'." :group 'recentf :type 'boolean - -(defcustom recentf-keep-non-readable-files-p nil - "*If nil (default), non-readable files are not kept in `recentf-list'." - :group 'recentf - :type 'boolean :require 'recentf :initialize 'custom-initialize-default :set (lambda (sym val) (if val (remove-hook 'kill-buffer-hook 'recentf-remove-file-hook) (add-hook 'kill-buffer-hook 'recentf-remove-file-hook)) - (custom-set-default sym val)))) + (custom-set-default sym val))) (defcustom recentf-mode nil "Toggle recentf mode. |