bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#63800: [elpa] elpa-admin 1d766451f8: Suggest `package-install' to in


From: Ihor Radchenko
Subject: bug#63800: [elpa] elpa-admin 1d766451f8: Suggest `package-install' to install packages (bug#63800)
Date: Thu, 13 Jul 2023 17:42:27 +0000

Stefan Monnier <monnier@iro.umontreal.ca> writes:

> How 'bout simply:
>
> +      (insert "<p>To install this package from Emacs, use 
> <code>package-install</code> or <code>list-packages</code>.</p>")

Still not ideal for core packages (package-install is currently useless
for them).
Maybe something like

(if (elpaa--spec-get pkg-spec :core)
  (insert "<p>To install this package from Emacs, use 
<code>list-packages</code>.</p>")
(insert "<p>To install this package from Emacs, use 
<code>package-install</code> or <code>list-packages</code>.</p>"))

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>





reply via email to

[Prev in Thread] Current Thread [Next in Thread]