Variable: projectile-kill-buffers-filter
projectile-kill-buffers-filter is a customizable variable defined in
projectile.el.
Value
kill-all
Documentation
Determine which buffers are killed by projectile-kill-buffers.
When the kill-all option is selected, kills each buffer.
When the kill-only-files option is selected, kill only the buffer associated to a file.
Otherwise, it should be a predicate that takes one argument: the buffer to be killed.
Source Code
;; Defined in ~/.emacs.d/elpa/projectile-20260310.858/projectile.el
(defcustom projectile-kill-buffers-filter 'kill-all
"Determine which buffers are killed by `projectile-kill-buffers'.
When the kill-all option is selected, kills each buffer.
When the kill-only-files option is selected, kill only the buffer
associated to a file.
Otherwise, it should be a predicate that takes one argument: the buffer to
be killed."
:group 'projectile
:type '(radio
(const :tag "All project buffers" kill-all)
(const :tag "Project file buffers" kill-only-files)
(function :tag "Predicate")))