Variable: desktop-buffers-not-to-save
desktop-buffers-not-to-save is a customizable variable defined in
desktop.el.gz.
Value
"\\` "
Documentation
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.
This variable was added, or its default value changed, in Emacs 24.4.
Probably introduced at or before Emacs version 23.2.
Source Code
;; Defined in /usr/src/emacs/lisp/desktop.el.gz
(defcustom desktop-buffers-not-to-save "\\` "
"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