diff options
Diffstat (limited to 'lisp/desktop.el')
-rw-r--r-- | lisp/desktop.el | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lisp/desktop.el b/lisp/desktop.el index e83891bf05d..cc1001e5a15 100644 --- a/lisp/desktop.el +++ b/lisp/desktop.el @@ -379,7 +379,10 @@ modes are restored automatically; they should not be listed here." :group 'desktop) (defcustom desktop-buffers-not-to-save "\\` " - "Regexp identifying buffers that are to be excluded from saving." + "Regexp identifying buffers that are to be excluded from saving. +This is in effect only for buffers that don't visit files. +To exclude buffers that visit files, use `desktop-files-not-to-save' +or `desktop-modes-not-to-save'." :type '(choice (const :tag "None" nil) regexp) :version "24.4" ; skip invisible temporary buffers |