Function: projection--name-to-type

projection--name-to-type is a natively compiled function defined in projection-core-match.el.

Signature

(projection--name-to-type TYPE)

Documentation

Find the project in projection-project-types(var)/projection-project-types(fun) with name TYPE.

Source Code

;; Defined in /nix/store/j6y921qbdmdqxjnd43iibapbig3p4hai-emacs-packages-deps/share/emacs/site-lisp/elpa/projection-20260614.1822/projection-core-match.el
(defun projection--name-to-type (type)
  "Find the project in `projection-project-types' with name TYPE."
  (or
   (cl-find-if (lambda (project-type)
                 (eq (oref project-type name) type))
               projection-project-types)
   (user-error "Could not find project with name=%s" type)))