]> git.eshelyaron.com Git - emacs.git/commitdiff
Make package-install-from-buffer maybe refresh the quickstart file
authorLars Ingebrigtsen <larsi@gnus.org>
Fri, 16 Oct 2020 07:10:05 +0000 (09:10 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Fri, 16 Oct 2020 07:10:05 +0000 (09:10 +0200)
* lisp/emacs-lisp/package.el (package-install-from-buffer):
Refresh the quickstart file (bug#43237).  This makes this command
more consistent with package-install.

lisp/emacs-lisp/package.el

index 5b7735125f559c00c019e1b08b664b67feba7c51..7b192d640b20803d97044781cedd21413c1c688a 100644 (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