From: Andy Moreton Date: Mon, 5 Jun 2017 22:01:55 +0000 (+0300) Subject: Fix check for package-unsigned-archives during retrieval X-Git-Tag: emacs-26.0.90~521^2~165 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=f858c585a39e83e062ff33e068b8376e7aecabdf;p=emacs.git Fix check for package-unsigned-archives during retrieval * lisp/emacs-lisp/package.el (package--download-one-archive): Fix check for package-unsigned-archives. --- 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 (when (listp (read-from-string content)) (make-directory dir t) (if (or (not package-check-signature) - (member archive package-unsigned-archives)) + (member name package-unsigned-archives)) ;; If we don't care about the signature, save the file and ;; we're done. (progn (write-region content nil local-file nil 'silent)