|
From: | Dmitry Gutov |
Subject: | Re: emacs-29 9b775ddc057 1/2: ; * etc/EGLOT-NEWS: Fix wording of last change. |
Date: | Sat, 6 May 2023 13:46:26 +0300 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 |
On 06/05/2023 13:35, Eli Zaretskii wrote:
Date: Sat, 6 May 2023 13:14:32 +0300 From: Dmitry Gutov<dmitry@gutov.dev> On 06/05/2023 09:44, Eli Zaretskii wrote:+using the more general command 'package-install', which by default +will not upgrade "built-in" packages, those that come with Emacs.Friendly reminder: while 'M-x package-install' does not upgrade "built-in" packages "by default", it doesn't upgrade any other packages at all, ever.Really? so what does package-install do?
'M-x package-install' installs a package if it's not already installed.
I'd hate to create an impression in some users that 'package-install' is a suitable instrument to upgrade packages.It isn't? then what is it for?
See above.It also _can_ install a newer version of the package if the first argument is of type 'package-desc', but that's basically an internal overload, not something that can be user interactively, or easily in the init script. BTW, the value of package-install-upgrade-built-in has no effect on that "overload".
[Prev in Thread] | Current Thread | [Next in Thread] |