doom/packages-install: fix quelpa/elpa detection in feedback + mention pinned archives
This commit is contained in:
parent
8f708dcd30
commit
545e2a215c
1 changed files with 6 additions and 3 deletions
|
@ -227,9 +227,12 @@ appropriate."
|
|||
((doom-install-package (car pkg) (cdr pkg))
|
||||
"Installed")
|
||||
(t "Failed to install"))
|
||||
(car pkg)
|
||||
(cond ((cdr pkg) "QUELPA")
|
||||
(t "ELPA"))))
|
||||
(concat (symbol-name (car pkg))
|
||||
(when (plist-member (cdr pkg) :pin)
|
||||
(format " [pinned: %s]" (plist-get (cdr pkg) :pin))))
|
||||
(pcase (doom-package-backend (car pkg))
|
||||
('quelpa "QUELPA")
|
||||
('elpa "ELPA"))))
|
||||
(error
|
||||
(message "Error (%s): %s" (car pkg) ex))))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue