Variable: desktop-globals-to-clear
desktop-globals-to-clear is a customizable variable defined in
desktop.el.gz.
Value
(kill-ring kill-ring-yank-pointer search-ring search-ring-yank-pointer
regexp-search-ring regexp-search-ring-yank-pointer)
Documentation
List of global variables that desktop-clear will clear.
An element may be variable name (a symbol) or a cons cell of the form
(VAR . FORM). Symbols are set to nil and for cons cells VAR is set
to the value obtained by evaluating FORM.
This variable was added, or its default value changed, in Emacs 22.1.
Probably introduced at or before Emacs version 22.1.
Source Code
;; Defined in /usr/src/emacs/lisp/desktop.el.gz
(defcustom desktop-globals-to-clear
'(kill-ring
kill-ring-yank-pointer
search-ring
search-ring-yank-pointer
regexp-search-ring
regexp-search-ring-yank-pointer)
"List of global variables that `desktop-clear' will clear.
An element may be variable name (a symbol) or a cons cell of the form
\(VAR . FORM). Symbols are set to nil and for cons cells VAR is set
to the value obtained by evaluating FORM."
:type '(repeat (restricted-sexp :match-alternatives (symbolp consp)))
:version "22.1")