Mercurial > emacs
changeset 50776:cfbb46a2ee9c
(recentf-cleanup): Swap tests for exclusion and accessibility.
author | Juanma Barranquero <lekktu@gmail.com> |
---|---|
date | Fri, 02 May 2003 12:13:14 +0000 |
parents | 828e021d2d93 |
children | e839173355a9 |
files | lisp/recentf.el |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/recentf.el Thu May 01 20:15:04 2003 +0000 +++ b/lisp/recentf.el Fri May 02 12:13:14 2003 +0000 @@ -8,7 +8,7 @@ ;; Maintainer: FSF ;; Keywords: files -(defconst recentf-version "$Revision$") +(defconst recentf-version "$Revision: 1.23 $") ;; This file is part of GNU Emacs. @@ -1127,7 +1127,7 @@ (message "Cleaning up the recentf list...") (let (newlist) (dolist (f recentf-list) - (if (and (file-readable-p f) (recentf-include-p f)) + (if (and (recentf-include-p f) (file-readable-p f)) (push f newlist) (message "File %s removed from the recentf list" f))) (setq recentf-list (nreverse newlist))