aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRyan Olson2020-02-23 08:15:10 -0700
committerNoam Postavsky2020-02-25 19:42:08 -0500
commit4a94881345819dd68062bc729b5b7ddeab00041b (patch)
treedf67bc88e95f93b6e5105e4947ba80489e1de7fb
parentc0fcbd2c119b8418855f0931aceefbef717c5e53 (diff)
downloademacs-4a94881345819dd68062bc729b5b7ddeab00041b.tar.gz
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
-rw-r--r--lisp/emacs-lisp/package.el3
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."
2081 (package-compute-transaction () (list (list pkg)))))) 2081 (package-compute-transaction () (list (list pkg))))))
2082 (progn 2082 (progn
2083 (package-download-transaction transaction) 2083 (package-download-transaction transaction)
2084 (package--quickstart-maybe-refresh)) 2084 (package--quickstart-maybe-refresh)
2085 (message "Package `%s' installed." name))
2085 (message "`%s' is already installed" name)))) 2086 (message "`%s' is already installed" name))))
2086 2087
2087(defun package-strip-rcs-id (str) 2088(defun package-strip-rcs-id (str)