Function: hypb:straight-package-plist

hypb:straight-package-plist is a byte-compiled function defined in hypb.el.

Signature

(hypb:straight-package-plist PKG-STRING)

Documentation

Return package info for a straight.el built package with name PKG-STRING.

The package info is a property list of package-name, package-download-source and package-version for PKG-STRING, else return nil. This is for the straight.el package manager.

Source Code

;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/hypb.el
(defun hypb:straight-package-plist (pkg-string)
  "Return package info for a straight.el built package with name PKG-STRING.
The package info is a property list of package-name,
package-download-source and package-version for PKG-STRING, else
return nil.  This is for the straight.el package manager."
  (when (fboundp 'straight-bug-report-package-info)
    (car (delq nil (mapcar (lambda (pkg-plist)
			     (when (equal (plist-get pkg-plist :package) pkg-string) pkg-plist))
			   (straight-bug-report-package-info))))))