diff --git a/lisp/recentf.el b/lisp/recentf.el index 4f0573911b..462ccb6db5 100644 --- a/lisp/recentf.el +++ b/lisp/recentf.el @@ -1304,7 +1304,9 @@ recentf-load-list When `recentf-initialize-file-name-history' is non-nil, initialize an empty `file-name-history' with the recent list." (interactive) - (let ((file (expand-file-name recentf-save-file))) + (let ((file (expand-file-name recentf-save-file)) + ;; We do not want Tramp asking for passwords. + (non-essential t)) (when (file-readable-p file) (load-file file) (and recentf-initialize-file-name-history