]> git.eshelyaron.com Git - emacs.git/commitdiff
Show friendly message after package install
authorRyan Olson <ryanolsonx@gmail.com>
Sun, 23 Feb 2020 15:15:10 +0000 (08:15 -0700)
committerNoam Postavsky <npostavs@gmail.com>
Wed, 26 Feb 2020 00:42:08 +0000 (19:42 -0500)
* lisp/emacs-lisp/package.el (package-install): Once we know the
package has successfully been installed using the `package-install`
command, instead of relying on the compile "Done" message, give a
message that tells the user that the package has been
installed.  (Bug#21857)

Copyright-paperwork-exempt: yes

lisp/emacs-lisp/package.el

index c91ee445e136345ba010f26a81b3ed30f1ce14d2..43eb038a865c288d5bc539547b1f04d1d67fa75a 100644 (file)
@@ -2081,7 +2081,8 @@ to install it but still mark it as selected."
                  (package-compute-transaction () (list (list pkg))))))
         (progn
           (package-download-transaction transaction)
-          (package--quickstart-maybe-refresh))
+          (package--quickstart-maybe-refresh)
+          (message  "Package `%s' installed." name))
       (message "`%s' is already installed" name))))
 
 (defun package-strip-rcs-id (str)