Function: projectile-project-buffers
projectile-project-buffers is a byte-compiled function defined in
projectile.el.
Signature
(projectile-project-buffers &optional PROJECT)
Documentation
Get a list of a project's buffers.
If PROJECT is not specified the command acts on the current project.
Source Code
;; Defined in ~/.emacs.d/elpa/projectile-20260820.1509/projectile.el
;;; Project buffers
;;
;; Which of Emacs's buffers belong to the project, and the filtering that
;; decides it. Consumed by the buffer-switching, killing and saving
;; commands, and by the ibuffer integration.
(defun projectile-project-buffers (&optional project)
"Get a list of a project's buffers.
If PROJECT is not specified the command acts on the current project."
(let* ((project-root (or project (projectile-acquire-root)))
(truename-cache (make-hash-table :test 'equal))
(all-buffers (seq-filter
(lambda (buffer)
(projectile-project-buffer-p buffer project-root truename-cache))
(buffer-list))))
(if projectile-buffers-filter-function
(funcall projectile-buffers-filter-function all-buffers)
all-buffers)))