From 1df35c166ac6389ffadb75a4c9e8b32118364b26 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Sun, 19 May 2019 20:30:09 -0400 Subject: [PATCH] Display package homepage in doom/help-packages If possible. --- core/autoload/help.el | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/core/autoload/help.el b/core/autoload/help.el index 60f8ad64d..f3bd37f97 100644 --- a/core/autoload/help.el +++ b/core/autoload/help.el @@ -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")