]> git.eshelyaron.com Git - emacs.git/commit
package-upgrade: Implement the upgrading of built-ins
authorDmitry Gutov <dmitry@gutov.dev>
Sat, 6 May 2023 00:54:59 +0000 (03:54 +0300)
committerDmitry Gutov <dmitry@gutov.dev>
Sat, 6 May 2023 00:58:49 +0000 (03:58 +0300)
commit53cc61d60dbfe94e5bf47cf167f816837540d2b3
tree67ade04396372804fea90097f3652bfab6e9fb87
parent0c6311386a12560c6578ffe50996c1f2c841ddfe
package-upgrade: Implement the upgrading of built-ins

* lisp/emacs-lisp/package.el (package--upgradeable-packages):
Add new argument.  When INCLUDE-BUILTINS is non-nil, also search
among package--builtins (bug#62720).
(package-upgrade): Use the new argument.  Bind
package-install-upgrade-built-in when necessary.  Mark the package
as selected if it was previously an "active built-in".
(package-upgrade-all): Update the docstring.
lisp/emacs-lisp/package.el