summaryrefslogtreecommitdiff
path: root/lisp/recentf.el
diff options
context:
space:
mode:
authorGerd Moellmann <gerd@gnu.org>2000-03-12 16:18:34 +0000
committerGerd Moellmann <gerd@gnu.org>2000-03-12 16:18:34 +0000
commit26e548de5bc1e34cc04cd4f51c6b8a6b5f2bce39 (patch)
tree3a810dc51010fa52ef375dade119a918073d2ac1 /lisp/recentf.el
parent055e8d322db7b6dc78249c8012c1019e97850141 (diff)
downloademacs-26e548de5bc1e34cc04cd4f51c6b8a6b5f2bce39.tar.gz
(recentf-keep-non-readable-files-p): Remove
double/nested definition.
Diffstat (limited to 'lisp/recentf.el')
-rw-r--r--lisp/recentf.el7
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.