]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix check for package-unsigned-archives during retrieval
authorAndy Moreton <andrewjmoreton@gmail.com>
Mon, 5 Jun 2017 22:01:55 +0000 (01:01 +0300)
committerDmitry Gutov <dgutov@yandex.ru>
Mon, 5 Jun 2017 22:04:17 +0000 (01:04 +0300)
* lisp/emacs-lisp/package.el (package--download-one-archive):
Fix check for package-unsigned-archives.

lisp/emacs-lisp/package.el

index cb8e2d60d6dee576030022c6958ddd604bfba028..bebfd18d7a6cbbac3ec45fb49189d3eaf1d9361b 100644 (file)
@@ -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)