Do not connect unreachable remote hosts in recentf
* lisp/recentf.el (recentf-expand-file-name): Protect against stalled remote hosts. (Bug#57336)
This commit is contained in:
parent
18d5eadf2c
commit
19ec23e82c
1 changed files with 2 additions and 1 deletions
|
@ -411,7 +411,8 @@ returned nil."
|
|||
"Convert file NAME to absolute, and canonicalize it.
|
||||
NAME is first passed to the function `expand-file-name', then to
|
||||
`recentf-filename-handlers' to post process it."
|
||||
(recentf-apply-filename-handlers (expand-file-name name)))
|
||||
(let ((non-essential t))
|
||||
(recentf-apply-filename-handlers (expand-file-name name))))
|
||||
|
||||
(defun recentf-include-p (filename)
|
||||
"Return non-nil if FILENAME should be included in the recent list.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue