[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
emacs-29 79a886ba368: (package-upgrade): Don't remove the package from '
From: |
Dmitry Gutov |
Subject: |
emacs-29 79a886ba368: (package-upgrade): Don't remove the package from 'package-selected-packages' |
Date: |
Fri, 5 May 2023 20:33:33 -0400 (EDT) |
branch: emacs-29
commit 79a886ba36837c0e13d83172ab33c1c2680c6e62
Author: Dmitry Gutov <dmitry@gutov.dev>
Commit: Dmitry Gutov <dmitry@gutov.dev>
(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.
---
lisp/emacs-lisp/package.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lisp/emacs-lisp/package.el b/lisp/emacs-lisp/package.el
index 0919ce34448..bbe2b8bb4af 100644
--- a/lisp/emacs-lisp/package.el
+++ b/lisp/emacs-lisp/package.el
@@ -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 ()
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- emacs-29 79a886ba368: (package-upgrade): Don't remove the package from 'package-selected-packages',
Dmitry Gutov <=