]> git.eshelyaron.com Git - emacs.git/commitdiff
Improve documentation of 'remote-file-name-access-timeout'
authorEli Zaretskii <eliz@gnu.org>
Tue, 4 Jul 2023 16:28:09 +0000 (19:28 +0300)
committerEli Zaretskii <eliz@gnu.org>
Tue, 4 Jul 2023 16:28:09 +0000 (19:28 +0300)
* lisp/desktop.el (desktop-files-not-to-save): Mention
'remote-file-name-access-timeout' in the doc string.  (Bug#64401)

lisp/desktop.el

index cb5cbbd1ef2b493a817d32ed849d0ad3df294038..592986999140a11733745d1fda2900eca3f0338c 100644 (file)
@@ -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)