emacs-devel
[Top][All Lists]
Advanced

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

Re: master 26f9a77: * etc/package-keyring.gpg: Add the 2019 key


From: Robert Pluim
Subject: Re: master 26f9a77: * etc/package-keyring.gpg: Add the 2019 key
Date: Fri, 26 Apr 2019 10:22:31 +0200

>>>>> On Tue, 23 Apr 2019 16:37:04 -0400 (EDT), address@hidden (Stefan Monnier) 
>>>>> said:

    Stefan> branch: master commit
    Stefan> 26f9a77f2478fb73bc82f12b3285c5f8cd7eb9f3 Author: Stefan
    Stefan> Monnier <address@hidden> Commit: Stefan Monnier
    Stefan> <address@hidden>

    Stefan>     * etc/package-keyring.gpg: Add the 2019 key ---
    Stefan> etc/package-keyring.gpg | Bin 999 -> 2069 bytes 1 file
    Stefan> changed, 0 insertions(+), 0 deletions(-)

So I installed the gnu-elpa-keyring-update package, and now I get

    Importing gnu-elpa-keyring.gpg...
    Importing gnu-elpa-keyring.gpg...done

on stdout when I start emacs. How about something like this:

diff --git a/lisp/emacs-lisp/package.el b/lisp/emacs-lisp/package.el
index 61cf690697..dfef0e6b3b 100644
--- a/lisp/emacs-lisp/package.el
+++ b/lisp/emacs-lisp/package.el
@@ -1529,9 +1529,11 @@ package-import-keyring
       (with-file-modes 448
         (make-directory package-gnupghome-dir t))
       (setf (epg-context-home-directory context) package-gnupghome-dir))
-    (message "Importing %s..." (file-name-nondirectory file))
+    (when (called-interactively-p 'interactive)
+      (message "Importing %s..." (file-name-nondirectory file)))
     (epg-import-keys-from-file context file)
-    (message "Importing %s...done" (file-name-nondirectory file))))
+    (when (called-interactively-p 'interactive)
+      (message "Importing %s...done" (file-name-nondirectory file)))))
 
 (defvar package--post-download-archives-hook nil
   "Hook run after the archive contents are downloaded.




reply via email to

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