mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-16 09:14:18 +00:00
Improve 'package-upgrade-all' robustness
* lisp/emacs-lisp/package.el (package-upgrade-all): Do not quit because a single upgrade fails with an error. (Bug#80357)
This commit is contained in:
parent
d092c8f63a
commit
567155047c
1 changed files with 3 additions and 1 deletions
|
|
@ -2144,7 +2144,9 @@ from ELPA by either using `\\[package-upgrade]' or
|
|||
(format "%s packages to upgrade. Do it?"
|
||||
(length upgradeable))))))
|
||||
(user-error "Upgrade aborted"))
|
||||
(mapc #'package-upgrade upgradeable))))
|
||||
(dolist (pkg upgradeable)
|
||||
(with-demoted-errors "Error while upgrading: %S"
|
||||
(package-upgrade pkg))))))
|
||||
|
||||
(defun package--dependencies (pkg)
|
||||
"Return a list of all transitive dependencies of PKG.
|
||||
|
|
|
|||
Loading…
Reference in a new issue