diff options
author | Philip Kaludercic <philipk@posteo.net> | 2022-08-19 20:37:09 +0200 |
---|---|---|
committer | Philip Kaludercic <philipk@posteo.net> | 2022-08-19 20:37:09 +0200 |
commit | 820036dafe642f3319312c38ef442168aff17e84 (patch) | |
tree | b63f278124c621cadd0681519b649a2aabd2e8ab /lisp/emacs-lisp | |
parent | d3f03666bbd6c506d65650c33413df826f502065 (diff) | |
download | emacs-820036dafe642f3319312c38ef442168aff17e84.tar.gz emacs-820036dafe642f3319312c38ef442168aff17e84.tar.bz2 emacs-820036dafe642f3319312c38ef442168aff17e84.zip |
* package-vc.el (package-vc-unpack): Mark packages as selected
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r-- | lisp/emacs-lisp/package-vc.el | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/package-vc.el b/lisp/emacs-lisp/package-vc.el index a3de07e503a..fb0d4524501 100644 --- a/lisp/emacs-lisp/package-vc.el +++ b/lisp/emacs-lisp/package-vc.el @@ -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." |