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))))