mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
doom/packages-install: fix quelpa/elpa detection in feedback + mention pinned archives
This commit is contained in:
@ -227,9 +227,12 @@ appropriate."
|
|||||||
((doom-install-package (car pkg) (cdr pkg))
|
((doom-install-package (car pkg) (cdr pkg))
|
||||||
"Installed")
|
"Installed")
|
||||||
(t "Failed to install"))
|
(t "Failed to install"))
|
||||||
(car pkg)
|
(concat (symbol-name (car pkg))
|
||||||
(cond ((cdr pkg) "QUELPA")
|
(when (plist-member (cdr pkg) :pin)
|
||||||
(t "ELPA"))))
|
(format " [pinned: %s]" (plist-get (cdr pkg) :pin))))
|
||||||
|
(pcase (doom-package-backend (car pkg))
|
||||||
|
('quelpa "QUELPA")
|
||||||
|
('elpa "ELPA"))))
|
||||||
(error
|
(error
|
||||||
(message "Error (%s): %s" (car pkg) ex))))
|
(message "Error (%s): %s" (car pkg) ex))))
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user