mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-07 12:47:30 -05:00
Fix case where package has no backend
In doom/help-packages
This commit is contained in:
@ -431,11 +431,12 @@ If prefix arg is present, refresh the cache."
|
|||||||
(re-search-forward "\n\n" nil t))
|
(re-search-forward "\n\n" nil t))
|
||||||
|
|
||||||
(package--print-help-section "Source")
|
(package--print-help-section "Source")
|
||||||
(insert (pcase (ignore-errors (doom-package-backend package))
|
(insert (or (pcase (ignore-errors (doom-package-backend package))
|
||||||
(`elpa (concat "[M]ELPA " (doom--package-url package)))
|
(`elpa (concat "[M]ELPA " (doom--package-url package)))
|
||||||
(`quelpa (format "QUELPA %s" (prin1-to-string (doom-package-prop package :recipe))))
|
(`quelpa (format "QUELPA %s" (prin1-to-string (doom-package-prop package :recipe))))
|
||||||
(`emacs "Built-in")
|
(`emacs "Built-in")
|
||||||
(_ (symbol-file package)))
|
(_ (symbol-file package)))
|
||||||
|
"unknown")
|
||||||
"\n")
|
"\n")
|
||||||
|
|
||||||
(when (assq package doom-packages)
|
(when (assq package doom-packages)
|
||||||
|
Reference in New Issue
Block a user