Variable: activities-anti-kill-predicates
activities-anti-kill-predicates is a customizable variable defined in
activities.el.
Value
(activities-buffer-hidden-p activities-buffer-special-p)
Documentation
Predicates which prevent a buffer from being killed.
Used when suspending an activity and activities-kill-buffers is
enabled. Each predicate is called with the buffer as its
argument. If any predicate returns non-nil, the buffer is not
killed.
Source Code
;; Defined in ~/.emacs.d/elpa/activities-0.7.2/activities.el
(defcustom activities-anti-kill-predicates
;; TODO(v0.7): Consider removing `activities-buffer-special-p'. from the
;; default value. Not sure if it's really a good idea (e.g. it
;; would prevent Magit buffers from being killed, and for no good
;; reason I can think of).
'(activities-buffer-hidden-p activities-buffer-special-p)
"Predicates which prevent a buffer from being killed.
Used when suspending an activity and `activities-kill-buffers' is
enabled. Each predicate is called with the buffer as its
argument. If any predicate returns non-nil, the buffer is not
killed."
:type '(set (function-item activities-buffer-special-p)
(function-item activities-buffer-hidden-p)
(function :tag "Other predicate")))