Function: projectile--embark-project-file-transform

projectile--embark-project-file-transform is a byte-compiled function defined in projectile.el.

Signature

(projectile--embark-project-file-transform TYPE TARGET)

Documentation

Embark project-file transformer augmenting Embark's own with Projectile.

Resolves TARGET against the Projectile root when it lives there, otherwise defers to the transformer Embark had before (or leaves TYPE/TARGET unchanged), so non-Projectile completions are unaffected.

Source Code

;; Defined in ~/.emacs.d/elpa/projectile-20260820.1509/projectile.el
(defun projectile--embark-project-file-transform (type target)
  "Embark `project-file' transformer augmenting Embark's own with Projectile.
Resolves TARGET against the Projectile root when it lives there,
otherwise defers to the transformer Embark had before (or leaves
TYPE/TARGET unchanged), so non-Projectile completions are unaffected."
  (or (projectile--embark-project-file-target target)
      (and projectile--embark-project-file-prev-transform
           (funcall projectile--embark-project-file-prev-transform type target))
      (cons type target)))