diff options
| author | Juanma Barranquero | 2003-05-02 12:16:46 +0000 |
|---|---|---|
| committer | Juanma Barranquero | 2003-05-02 12:16:46 +0000 |
| commit | 46a75c30d0cd73243c56a05f7789ba60b4e7a93e (patch) | |
| tree | 620b7178f858f21bb865d1060a2e1722b2e4acef | |
| parent | 62cbacdefde2e15638dea9a0014df22efebcaa5e (diff) | |
| download | emacs-46a75c30d0cd73243c56a05f7789ba60b4e7a93e.tar.gz emacs-46a75c30d0cd73243c56a05f7789ba60b4e7a93e.zip | |
(recentf-cleanup): Swap tests for exclusion and accessibility.
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/recentf.el | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 5ef1861b443..38c4e9fa585 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2003-05-02 Tak Ota <Takaaki.Ota@am.sony.com> (tiny change) | ||
| 2 | |||
| 3 | * recentf.el (recentf-cleanup): Swap tests for exclusion and | ||
| 4 | accessibility. | ||
| 5 | |||
| 1 | 2003-05-01 Eduardo Mu,Aq(Boz <emufer@terra.es> (tiny change) | 6 | 2003-05-01 Eduardo Mu,Aq(Boz <emufer@terra.es> (tiny change) |
| 2 | 7 | ||
| 3 | * ls-lisp.el (ls-lisp-format-file-size): New function to implement | 8 | * ls-lisp.el (ls-lisp-format-file-size): New function to implement |
diff --git a/lisp/recentf.el b/lisp/recentf.el index 698e848ce6a..4bfcf79aa3a 100644 --- a/lisp/recentf.el +++ b/lisp/recentf.el | |||
| @@ -8,7 +8,7 @@ | |||
| 8 | ;; Maintainer: FSF | 8 | ;; Maintainer: FSF |
| 9 | ;; Keywords: files | 9 | ;; Keywords: files |
| 10 | 10 | ||
| 11 | (defconst recentf-version "$Revision$") | 11 | (defconst recentf-version "$Revision: 1.23 $") |
| 12 | 12 | ||
| 13 | ;; This file is part of GNU Emacs. | 13 | ;; This file is part of GNU Emacs. |
| 14 | 14 | ||
| @@ -1127,7 +1127,7 @@ Read data from the file specified by `recentf-save-file'." | |||
| 1127 | (message "Cleaning up the recentf list...") | 1127 | (message "Cleaning up the recentf list...") |
| 1128 | (let (newlist) | 1128 | (let (newlist) |
| 1129 | (dolist (f recentf-list) | 1129 | (dolist (f recentf-list) |
| 1130 | (if (and (file-readable-p f) (recentf-include-p f)) | 1130 | (if (and (recentf-include-p f) (file-readable-p f)) |
| 1131 | (push f newlist) | 1131 | (push f newlist) |
| 1132 | (message "File %s removed from the recentf list" f))) | 1132 | (message "File %s removed from the recentf list" f))) |
| 1133 | (setq recentf-list (nreverse newlist)) | 1133 | (setq recentf-list (nreverse newlist)) |