Function: embark--project-file-full-path

embark--project-file-full-path is a byte-compiled function defined in embark.el.

Signature

(embark--project-file-full-path TYPE TARGET)

Documentation

Get full path of project file TARGET.

Source Code

;; Defined in ~/.emacs.d/elpa/embark-20260610.302/embark.el
(defun embark--project-file-full-path (_type target)
  "Get full path of project file TARGET."
  ;; TODO project-find-file can be called from outside all projects in
  ;; which case it prompts for a project first; we don't support that
  ;; case yet, since there is no current project.
  (cons 'file
        (if-let* ((project (project-current))
                  (root (project-root project)))
            (expand-file-name target root)
          target)))