Display package homepage in doom/help-packages
If possible.
This commit is contained in:
parent
9f63d94b13
commit
1df35c166a
1 changed files with 6 additions and 7 deletions
|
@ -431,13 +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))
|
||||
(`elpa "[M]ELPA")
|
||||
(`quelpa (format "QUELPA %s" (prin1-to-string (doom-package-prop package :recipe))))
|
||||
(`emacs "Built-in")
|
||||
(_ (symbol-file package)))
|
||||
"\n")
|
||||
(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)))
|
||||
"\n")
|
||||
|
||||
(when (assq package doom-packages)
|
||||
(package--print-help-section "Modules")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue