1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-06 06:20:55 -08:00

Allow 'package-upgrade-all' to upgrade built-in packages

* lisp/emacs-lisp/package.el (package-upgrade-all): Respect
'package-install-upgrade-built-in'.  (Bug#79718)
This commit is contained in:
Philip Kaludercic 2025-11-06 23:00:28 +01:00
parent 00524e6e02
commit 211f0520fc
No known key found for this signature in database

View file

@ -2341,7 +2341,7 @@ from ELPA by either using `\\[package-upgrade]' or
`\\<package-menu-mode-map>\\[package-menu-mark-install]' after `\\[list-packages]'."
(interactive (list (not noninteractive)))
(package-refresh-contents)
(let ((upgradeable (package--upgradeable-packages)))
(let ((upgradeable (package--upgradeable-packages package-install-upgrade-built-in)))
(if (not upgradeable)
(message "No packages to upgrade")
(when (and query