doom-install-package: inherit plist from doom-packages
This commit is contained in:
parent
cf79e45cf5
commit
c492379e07
1 changed files with 2 additions and 1 deletions
|
@ -155,7 +155,8 @@ example; the package name can be omitted)."
|
|||
(doom-initialize-packages)
|
||||
(when (package-installed-p name)
|
||||
(user-error "%s is already installed, skipping" name))
|
||||
(let ((inhibit-message (not doom-debug-mode))
|
||||
(let ((plist (or plist (cdr (assq name doom-packages))))
|
||||
(inhibit-message (not doom-debug-mode))
|
||||
(recipe (plist-get plist :recipe)))
|
||||
(cond (recipe (quelpa recipe))
|
||||
(t (package-install name))))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue