* package-vc.el (package-vc-unpack): Mark packages as selected

This commit is contained in:
Philip Kaludercic 2022-08-19 20:37:09 +02:00
parent d3f03666bb
commit 820036dafe
No known key found for this signature in database
GPG key ID: F2C3CC513DB89F66

View file

@ -206,7 +206,11 @@ The output is written out into PKG-FILE."
(when (length= texi-files 1)
(call-process "install-info" nil nil nil
(concat "--dir=" dir-file)
(car texi-files)))))))
(car texi-files)))))
;; Mark package as selected
(package--save-selected-packages
(cons name package-selected-packages))))
(defun package-vc-sourced-packages-list ()
"Generate a list of packages with VC data."