fix: support :source and :inherit in package! :recipe

These are straight.el keywords that package! would fail to recognize
until now.
This commit is contained in:
Henrik Lissner 2022-07-23 16:39:30 +02:00
parent 043d32fefd
commit 8308d68b61
No known key found for this signature in database
GPG key ID: B60957CA074D39A3

View file

@ -528,10 +528,9 @@ elsewhere."
(condition-case e (condition-case e
(when-let (recipe (plist-get plist :recipe)) (when-let (recipe (plist-get plist :recipe))
(cl-destructuring-bind (cl-destructuring-bind
(&key local-repo _files _flavor (&key local-repo _files _flavor _build _pre-build _post-build
_build _pre-build _post-build _includes _includes _type _repo _host _branch _protocol _remote
_type _repo _host _branch _protocol _nonrecursive _fork _depth _source _inherit)
_remote _nonrecursive _fork _depth)
recipe recipe
;; Expand :local-repo from current directory ;; Expand :local-repo from current directory
(when local-repo (when local-repo