Fix case where package has no backend
In doom/help-packages
This commit is contained in:
parent
b68fb2aa11
commit
390647da87
1 changed files with 6 additions and 5 deletions
|
@ -431,11 +431,12 @@ If prefix arg is present, refresh the cache."
|
|||
(re-search-forward "\n\n" nil t))
|
||||
|
||||
(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)))
|
||||
(`quelpa (format "QUELPA %s" (prin1-to-string (doom-package-prop package :recipe))))
|
||||
(`emacs "Built-in")
|
||||
(_ (symbol-file package)))
|
||||
"unknown")
|
||||
"\n")
|
||||
|
||||
(when (assq package doom-packages)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue