diff options
author | Ryan Olson <ryanolsonx@gmail.com> | 2020-02-23 08:15:10 -0700 |
---|---|---|
committer | Noam Postavsky <npostavs@gmail.com> | 2020-02-25 19:42:08 -0500 |
commit | 4a94881345819dd68062bc729b5b7ddeab00041b (patch) | |
tree | df67bc88e95f93b6e5105e4947ba80489e1de7fb /lisp/emacs-lisp | |
parent | c0fcbd2c119b8418855f0931aceefbef717c5e53 (diff) | |
download | emacs-4a94881345819dd68062bc729b5b7ddeab00041b.tar.gz emacs-4a94881345819dd68062bc729b5b7ddeab00041b.tar.bz2 emacs-4a94881345819dd68062bc729b5b7ddeab00041b.zip |
Show friendly message after package install
* 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
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r-- | lisp/emacs-lisp/package.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/package.el b/lisp/emacs-lisp/package.el index c91ee445e13..43eb038a865 100644 --- a/lisp/emacs-lisp/package.el +++ b/lisp/emacs-lisp/package.el @@ -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) |