mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-30 04:10:54 -08:00
Fix Bug#27108
* lisp/recentf.el (recentf-load-list): Bind `non-essential', in order to avoid Tramp password requests during Emacs startup. (Bug#27108)
This commit is contained in:
parent
24ed64a04c
commit
ca3622bf2e
1 changed files with 3 additions and 1 deletions
|
|
@ -1304,7 +1304,9 @@ Read data from the file specified by `recentf-save-file'.
|
|||
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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue