emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 19ec23e82c: Do not connect unreachable remote hosts in recentf


From: Michael Albinus
Subject: master 19ec23e82c: Do not connect unreachable remote hosts in recentf
Date: Mon, 29 Aug 2022 06:05:11 -0400 (EDT)

branch: master
commit 19ec23e82cbbc59a9900f524cdb292dce46821b4
Author: Michael Albinus <michael.albinus@gmx.de>
Commit: Michael Albinus <michael.albinus@gmx.de>

    Do not connect unreachable remote hosts in recentf
    
    * lisp/recentf.el (recentf-expand-file-name): Protect against
    stalled remote hosts.  (Bug#57336)
---
 lisp/recentf.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lisp/recentf.el b/lisp/recentf.el
index b80ee3dd7d..32badb1a37 100644
--- a/lisp/recentf.el
+++ b/lisp/recentf.el
@@ -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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]