From 4a94881345819dd68062bc729b5b7ddeab00041b Mon Sep 17 00:00:00 2001 From: Ryan Olson Date: Sun, 23 Feb 2020 08:15:10 -0700 Subject: [PATCH] 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 --- lisp/emacs-lisp/package.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) -- 2.39.2