]> git.eshelyaron.com Git - emacs.git/commit
Don't run gpg when loading package.el
authorLars Ingebrigtsen <larsi@gnus.org>
Fri, 26 Jul 2019 06:30:24 +0000 (08:30 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Fri, 26 Jul 2019 06:30:43 +0000 (08:30 +0200)
commit71f76a802503671fa495d81118dd3ae499a44660
tree6397cb80ed9c21ef4acad76cfa35f818022d619c
parent62047917282ac523eea3d6442fff88ef46d74f43
Don't run gpg when loading package.el

* lisp/emacs-lisp/package.el (package-check-signature): Don't run
gpg on startup, but just default to `allow-unsigned'.
(package-check-signature): New function to check whether a OpenPGP
configuration is found when `allow-unsigned'.
(package--check-signature-content, package--check-signature)
(package--download-one-archive, package-refresh-contents)
(package-install-from-archive): Use function instead of variable
throughout.
* doc/emacs/package.texi (Package Installation): Document this.
doc/emacs/package.texi
etc/NEWS
lisp/emacs-lisp/package.el