Function: embark--package-desc

embark--package-desc is a byte-compiled function defined in embark.el.

Signature

(embark--package-desc PKG)

Documentation

Return the description structure for package PKG.

Source Code

;; Defined in ~/.emacs.d/elpa/embark-20260610.302/embark.el
(defun embark--package-desc (pkg)
  "Return the description structure for package PKG."
  (or ; found this in `describe-package-1'
   (car (alist-get pkg package-alist))
   (if-let* ((built-in (assq pkg package--builtins)))
       (package--from-builtin built-in)
     (car (alist-get pkg package-archive-contents)))))