Function: projectile-project-type-attribute

projectile-project-type-attribute is a byte-compiled function defined in projectile.el.

Signature

(projectile-project-type-attribute PROJECT-TYPE KEY &optional DEFAULT-VALUE)

Documentation

Return the value of some PROJECT-TYPE attribute identified by KEY.

Fallback to DEFAULT-VALUE for missing attributes.

Source Code

;; Defined in ~/.emacs.d/elpa/projectile-20260310.858/projectile.el
(defun projectile-project-type-attribute (project-type key &optional default-value)
  "Return the value of some PROJECT-TYPE attribute identified by KEY.
Fallback to DEFAULT-VALUE for missing attributes."
  (let ((project (alist-get project-type projectile-project-types)))
    (if (and project (plist-member project key))
        (plist-get project key)
      default-value)))