Display package homepage in doom/help-packages

If possible.
This commit is contained in:
Henrik Lissner 2019-05-19 20:30:09 -04:00
parent 9f63d94b13
commit 1df35c166a
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -431,9 +431,8 @@ 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))
(`elpa "[M]ELPA")
(insert (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)))