summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorMichael Albinus <michael.albinus@gmx.de>2007-07-17 21:08:21 +0000
committerMichael Albinus <michael.albinus@gmx.de>2007-07-17 21:08:21 +0000
commit4e44b31fb8ba8af9884657f945b40570760af95b (patch)
tree1c7a0416c2da8342e93685792c9cdde8fb095fc3 /lisp
parentac25542d3337e026e6ebc3e39fae741a8147817e (diff)
downloademacs-4e44b31fb8ba8af9884657f945b40570760af95b.tar.gz
* recentf.el (recentf-keep-default-predicate): Adapt call of
`file-remote-p'.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/recentf.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/recentf.el b/lisp/recentf.el
index aea7528b2ce..5c7472f96d3 100644
--- a/lisp/recentf.el
+++ b/lisp/recentf.el
@@ -103,7 +103,7 @@ must return non-nil to exclude it."
"Return non-nil if FILE should be kept in the recent list.
It handles the case of remote files as well."
(cond
- ((file-remote-p file t) (file-readable-p file))
+ ((file-remote-p file nil t) (file-readable-p file))
((file-remote-p file))
((file-readable-p file))))