]> git.eshelyaron.com Git - emacs.git/commitdiff
; Fix installation of dependencies for VC packages
authorPhilip Kaludercic <philipk@posteo.net>
Sun, 12 Feb 2023 12:10:04 +0000 (13:10 +0100)
committerPhilip Kaludercic <philipk@posteo.net>
Sun, 12 Feb 2023 12:11:03 +0000 (13:11 +0100)
* lisp/emacs-lisp/package-vc.el (package-vc-install-dependencies):
Maintain a list of package-desc objects instead of package names to
install.

lisp/emacs-lisp/package-vc.el

index 33bd0bfd5cd19c05e6bb2c7cb3212c40b101d2f8..1bc5c8831614b8dd40d9423084bfd8dc9cab6e3b 100644 (file)
@@ -426,8 +426,8 @@ version of that package."
                    ((let* ((pac package-archive-contents)
                            (desc (cadr (assoc (car pkg) pac))))
                       (if desc
-                          (let ((reqs (package-desc-reqs pkg)))
-                            (push pkg to-install)
+                          (let ((reqs (package-desc-reqs desc)))
+                            (push desc to-install)
                             (mapc #'search reqs))
                         (push pkg missing))))))
                 (version-order (a b)