aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/recentf.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/recentf.el b/lisp/recentf.el
index 4f0573911b9..462ccb6db5e 100644
--- a/lisp/recentf.el
+++ b/lisp/recentf.el
@@ -1304,7 +1304,9 @@ Read data from the file specified by `recentf-save-file'.
1304When `recentf-initialize-file-name-history' is non-nil, initialize an 1304When `recentf-initialize-file-name-history' is non-nil, initialize an
1305empty `file-name-history' with the recent list." 1305empty `file-name-history' with the recent list."
1306 (interactive) 1306 (interactive)
1307 (let ((file (expand-file-name recentf-save-file))) 1307 (let ((file (expand-file-name recentf-save-file))
1308 ;; We do not want Tramp asking for passwords.
1309 (non-essential t))
1308 (when (file-readable-p file) 1310 (when (file-readable-p file)
1309 (load-file file) 1311 (load-file file)
1310 (and recentf-initialize-file-name-history 1312 (and recentf-initialize-file-name-history