]> git.eshelyaron.com Git - emacs.git/commit
Remove old VC packages from 'package-alist' after installing
authorPhilip Kaludercic <philipk@posteo.net>
Sat, 9 Dec 2023 09:03:37 +0000 (10:03 +0100)
committerEshel Yaron <me@eshelyaron.com>
Sat, 9 Dec 2023 19:14:14 +0000 (20:14 +0100)
commitdbda33892b94e3d0e7d2a9d9de82228b7c2fddfb
tree32e4a86dbb3b294862c7598ae101def1ae61be12
parentae88f981a68bf95d835f2bea9e95f67d0c1332c4
Remove old VC packages from 'package-alist' after installing

* lisp/emacs-lisp/package-vc.el (package-vc--unpack-1): Wait for all
system operations to have been completed, before proceeding to remove
old package descriptors from 'package-alist'.  This avoids loosing a
package if an error occurs during upgrades.
lisp/emacs-lisp/package-vc.el