From e3e7eae381c0756b54935121c3f0a641685af666 Mon Sep 17 00:00:00 2001 Message-ID: From: Ihor Radchenko Date: Sun, 9 Jul 2023 14:56:22 +0300 Subject: [PATCH] Suggest `package-install' to install packages * elpa-admin.el (elpaa--html-make-pkg): Instruct using `list-packages' to install packages instead of `package-install'. See bug#63800. --- elpa-admin.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/elpa-admin.el b/elpa-admin.el index 7ee385d0a..2b5c9b3dd 100644 --- a/elpa-admin.el +++ b/elpa-admin.el @@ -1879,7 +1879,8 @@ (defun elpaa--html-make-pkg (pkg pkg-spec files srcdir plain-readme) (elpaa--html-insert-docs pkg-spec) (insert "") (insert (format "

To install this package, run in Emacs:

-
M-x package-install RET %s RET
" +
M-x list-packages RET
+

Then, find %s in the list, click on the link, and click Install.

" name)) (let* ((readme-content (elpaa--get-README pkg-spec srcdir)) (readme-text plain-readme) -- 2.41.0