* lisp/emacs-lisp/package.el: Don't always propagate async errors
commit711e14ddad7fb1e80a86c79e37a957929e8c01a3
authorArtur Malabarba <bruce.connor.am@gmail.com>
Thu, 18 Jun 2015 13:27:19 +0000 (18 14:27 +0100)
committerArtur Malabarba <bruce.connor.am@gmail.com>
Thu, 18 Jun 2015 13:28:03 +0000 (18 14:28 +0100)
treec8fe19eb21afe17aad82db685d15d5664d91a29b
parent8db25739a434902ae5cfc42d1ceddd6c28b53530
* lisp/emacs-lisp/package.el: Don't always propagate async errors

(package--with-work-buffer-async): Only propagate the error if the
callback returns non-nil.
(package--download-one-archive): Return nil on the signature
checking callback if we accept unsigned.
(package--download-and-read-archives): Return non-nil on the
archive download callback.
lisp/emacs-lisp/package.el