[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] emacs-26 f21f8e6: Document 'desktop-files-not-to-save'
From: |
Eli Zaretskii |
Subject: |
[Emacs-diffs] emacs-26 f21f8e6: Document 'desktop-files-not-to-save' |
Date: |
Sat, 17 Feb 2018 06:02:26 -0500 (EST) |
branch: emacs-26
commit f21f8e6135c0a93a65433ca85831c60e9a8f5200
Author: Robert Pluim <address@hidden>
Commit: Eli Zaretskii <address@hidden>
Document 'desktop-files-not-to-save'
* doc/emacs/misc.texi (Saving Emacs Sessions): Add description
of 'desktop-files-not-to-save'.
* lisp/desktop.el (desktop-files-not-to-save): Explain that
the default value excludes buffers visiting remote files.
---
doc/emacs/misc.texi | 5 +++++
lisp/desktop.el | 3 ++-
2 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/doc/emacs/misc.texi b/doc/emacs/misc.texi
index ae6f944..cfc689e 100644
--- a/doc/emacs/misc.texi
+++ b/doc/emacs/misc.texi
@@ -2434,6 +2434,11 @@ To disable this, set @code{desktop-restore-frames} to
@code{nil}.
(See that variable's documentation for some related options
that you can customize to fine-tune this behavior.)
address@hidden desktop-files-not-to-save
+Information about buffers visiting remote files is not saved by
+default. Customize the variable @code{desktop-files-not-to-save} to
+change this.
+
@vindex frameset-filter-alist
When the desktop restores the frame and window configuration, it
uses the recorded values of frame parameters, disregarding any
diff --git a/lisp/desktop.el b/lisp/desktop.el
index 069d273..b98319b 100644
--- a/lisp/desktop.el
+++ b/lisp/desktop.el
@@ -393,7 +393,8 @@ or `desktop-modes-not-to-save'."
;; Skip tramp and ange-ftp files
(defcustom desktop-files-not-to-save
"\\(^/[^/:]*:\\|(ftp)$\\)"
- "Regexp identifying files whose buffers are to be excluded from saving."
+ "Regexp identifying files whose buffers are to be excluded from saving.
+The default value excludes buffers visiting remote files."
:type '(choice (const :tag "None" nil)
regexp)
:group 'desktop)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] emacs-26 f21f8e6: Document 'desktop-files-not-to-save',
Eli Zaretskii <=