aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy Moreton2017-06-06 01:01:55 +0300
committerDmitry Gutov2017-06-06 01:04:17 +0300
commitf858c585a39e83e062ff33e068b8376e7aecabdf (patch)
treebbec004c93ab03e5b9ec8fb7b41ff743d16e10f8
parent096eb7d67147e3d7f01e7d08f7da1c6bee947f50 (diff)
downloademacs-f858c585a39e83e062ff33e068b8376e7aecabdf.tar.gz
emacs-f858c585a39e83e062ff33e068b8376e7aecabdf.zip
Fix check for package-unsigned-archives during retrieval
* lisp/emacs-lisp/package.el (package--download-one-archive): Fix check for package-unsigned-archives.
-rw-r--r--lisp/emacs-lisp/package.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/package.el b/lisp/emacs-lisp/package.el
index cb8e2d60d6d..bebfd18d7a6 100644
--- a/lisp/emacs-lisp/package.el
+++ b/lisp/emacs-lisp/package.el
@@ -1529,7 +1529,7 @@ similar to an entry in `package-alist'. Save the cached copy to
1529 (when (listp (read-from-string content)) 1529 (when (listp (read-from-string content))
1530 (make-directory dir t) 1530 (make-directory dir t)
1531 (if (or (not package-check-signature) 1531 (if (or (not package-check-signature)
1532 (member archive package-unsigned-archives)) 1532 (member name package-unsigned-archives))
1533 ;; If we don't care about the signature, save the file and 1533 ;; If we don't care about the signature, save the file and
1534 ;; we're done. 1534 ;; we're done.
1535 (progn (write-region content nil local-file nil 'silent) 1535 (progn (write-region content nil local-file nil 'silent)