Mercurial > emacs
changeset 28115:48db2ba485bf
(recentf-keep-non-readable-files-p): Remove
double/nested definition.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Sun, 12 Mar 2000 16:18:34 +0000 |
parents | b8b859c9a824 |
children | 25edeaccc41f |
files | lisp/recentf.el |
diffstat | 1 files changed, 1 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/recentf.el Sun Mar 12 15:34:37 2000 +0000 +++ b/lisp/recentf.el Sun Mar 12 16:18:34 2000 +0000 @@ -141,18 +141,13 @@ "*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.