Make package-install-from-buffer maybe refresh the quickstart file

* lisp/emacs-lisp/package.el (package-install-from-buffer):
Refresh the quickstart file (bug#43237).  This makes this command
more consistent with package-install.
This commit is contained in:
Lars Ingebrigtsen 2020-10-16 09:10:05 +02:00
parent 8b4dd261cb
commit 1e89dfc6c8

View file

@ -2152,6 +2152,7 @@ Downloads and installs required packages as needed."
(unless (package--user-selected-p name)
(package--save-selected-packages
(cons name package-selected-packages)))
(package--quickstart-maybe-refresh)
pkg-desc))
;;;###autoload