From 6d1e6f7f111ee2442e9a20c9a0585120198b706f Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Tue, 4 Jul 2023 19:28:09 +0300 Subject: [PATCH] Improve documentation of 'remote-file-name-access-timeout' * lisp/desktop.el (desktop-files-not-to-save): Mention 'remote-file-name-access-timeout' in the doc string. (Bug#64401) --- lisp/desktop.el | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/lisp/desktop.el b/lisp/desktop.el index cb5cbbd1ef2..59298699914 100644 --- a/lisp/desktop.el +++ b/lisp/desktop.el @@ -397,7 +397,12 @@ or `desktop-modes-not-to-save'." (defcustom desktop-files-not-to-save "\\(\\`/[^/:]*:\\|(ftp)\\'\\)" "Regexp identifying files whose buffers are to be excluded from saving. -The default value excludes buffers visiting remote files." +The default value excludes buffers visiting remote files. + +If you modify this such that buffers visiting remote files are not excluded, +you may wish customizing `remote-file-name-access-timeout' to a non-nil +value, to avoid hanging the desktop restoration because some remote +host is off-line." :type '(choice (const :tag "None" nil) regexp) :group 'desktop) -- 2.39.2