Function: projectile-project-buffer-files

projectile-project-buffer-files is a byte-compiled function defined in projectile.el.

Signature

(projectile-project-buffer-files &optional PROJECT)

Documentation

Get a list of a project's buffer files.

If PROJECT is not specified the command acts on the current project.

Source Code

;; Defined in ~/.emacs.d/elpa/projectile-20260310.858/projectile.el
(defun projectile-project-buffer-files (&optional project)
  "Get a list of a project's buffer files.
If PROJECT is not specified the command acts on the current project."
  (let ((project-root (or project (projectile-project-root))))
    (mapcar
     (lambda (buffer)
       (file-relative-name
        (buffer-file-name buffer)
        project-root))
     (projectile-buffers-with-file
      (projectile-project-buffers project)))))