emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] master f858c58 1/2: Fix check for package-unsigned-archive


From: Dmitry Gutov
Subject: [Emacs-diffs] master f858c58 1/2: Fix check for package-unsigned-archives during retrieval
Date: Mon, 5 Jun 2017 18:04:29 -0400 (EDT)

branch: master
commit f858c585a39e83e062ff33e068b8376e7aecabdf
Author: Andy Moreton <address@hidden>
Commit: Dmitry Gutov <address@hidden>

    Fix check for package-unsigned-archives during retrieval
    
    * lisp/emacs-lisp/package.el (package--download-one-archive):
    Fix check for package-unsigned-archives.
---
 lisp/emacs-lisp/package.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/emacs-lisp/package.el b/lisp/emacs-lisp/package.el
index cb8e2d6..bebfd18 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)



reply via email to

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