Variable: projectile-buffers-filter-function

projectile-buffers-filter-function is a customizable variable defined in projectile.el.

Value

nil

Documentation

A function used to filter the buffers in projectile-project-buffers.

The function should accept and return a list of Emacs buffers. Two example filter functions are shipped by default - projectile-buffers-with-file and projectile-buffers-with-file-or-process.

This variable was added, or its default value changed, in projectile version 0.11.0.

Source Code

;; Defined in ~/.emacs.d/elpa/projectile-20260820.1509/projectile.el
(defcustom projectile-buffers-filter-function nil
  "A function used to filter the buffers in `projectile-project-buffers'.

The function should accept and return a list of Emacs buffers.
Two example filter functions are shipped by default -
`projectile-buffers-with-file' and
`projectile-buffers-with-file-or-process'."
  :group 'projectile
  :type '(choice (const :tag "No filtering" nil)
                 (function :tag "Filter function"))
  :package-version '(projectile . "0.11.0"))