emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 4a94881: Show friendly message after package install


From: Noam Postavsky
Subject: master 4a94881: Show friendly message after package install
Date: Tue, 25 Feb 2020 19:45:44 -0500 (EST)

branch: master
commit 4a94881345819dd68062bc729b5b7ddeab00041b
Author: Ryan Olson <address@hidden>
Commit: Noam Postavsky <address@hidden>

    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 c91ee44..43eb038 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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]