Variable: clean-buffer-list-kill-never-regexps
clean-buffer-list-kill-never-regexps is a customizable variable
defined in midnight.el.gz.
Value
("\\` \\*Minibuf-.*\\*\\'")
Documentation
List of regexp saying which buffers will never be killed at midnight.
See also clean-buffer-list-kill-never-buffer-names.
Killing is done by clean-buffer-list.
Note that this does override clean-buffer-list-kill-regexps and
clean-buffer-list-kill-buffer-names so a buffer matching any of these
two lists will NOT be killed if it also matches anything in this list.
Each element can also be a function instead of a regexp, in which case
it takes a single argument (a buffer name) and should return non-nil
if the buffer should never be killed by clean-buffer-list.
Source Code
;; Defined in /usr/src/emacs/lisp/midnight.el.gz
(defcustom clean-buffer-list-kill-never-regexps '("\\` \\*Minibuf-.*\\*\\'")
"List of regexp saying which buffers will never be killed at midnight.
See also `clean-buffer-list-kill-never-buffer-names'.
Killing is done by `clean-buffer-list'.
Note that this does override `clean-buffer-list-kill-regexps' and
`clean-buffer-list-kill-buffer-names' so a buffer matching any of these
two lists will NOT be killed if it also matches anything in this list.
Each element can also be a function instead of a regexp, in which case
it takes a single argument (a buffer name) and should return non-nil
if the buffer should never be killed by `clean-buffer-list'."
:type '(repeat
(choice (regexp :tag "Regexp matching Buffer Name")
(function :tag "Predicate function"))))