Respect the :ignore property for packages installed as dependencies (#4497)

* Respect the :ignore property for packages installed as dependencies

* Fix indentation

Co-authored-by: Henrik Lissner <accounts@v0.io>
This commit is contained in:
midchildan
2021-01-04 08:42:57 +09:00
committed by GitHub
parent 22b24d397f
commit 2c51be5b2c

View File

@ -191,7 +191,8 @@ processed."
(dolist (package doom-packages)
(cl-destructuring-bind
(name &key recipe disable ignore shadow &allow-other-keys) package
(unless ignore
(if ignore
(straight-override-recipe (cons name '(:type built-in)))
(if disable
(cl-pushnew name doom-disabled-packages)
(when shadow