mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-05 11:45:45 +00:00
(package-upgrade): Don't remove the package from 'package-selected-packages'
* lisp/emacs-lisp/package.el (package-upgrade): Don't remove the package from 'package-selected-packages', fixing the problem described in https://debbugs.gnu.org/62720#718.
This commit is contained in:
parent
c0ab4e9ca9
commit
79a886ba36
@ -2282,7 +2282,7 @@ newer version from ELPA by using `\\<package-menu-mode-map>\\[package-menu-mark-
|
||||
(pkg-desc (cadr (assq package package-alist))))
|
||||
(if (package-vc-p pkg-desc)
|
||||
(package-vc-upgrade pkg-desc)
|
||||
(package-delete pkg-desc 'force)
|
||||
(package-delete pkg-desc 'force 'dont-unselect)
|
||||
(package-install package 'dont-select))))
|
||||
|
||||
(defun package--upgradeable-packages ()
|
||||
|
Loading…
Reference in New Issue
Block a user