diff options
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r-- | lisp/emacs-lisp/package.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/package.el b/lisp/emacs-lisp/package.el index 23e0bb15d0a..f9786febf4e 100644 --- a/lisp/emacs-lisp/package.el +++ b/lisp/emacs-lisp/package.el @@ -1787,7 +1787,7 @@ similar to an entry in `package-alist'. Save the cached copy to \"archives/NAME/FILE\" in `package-user-dir'." ;; The downloaded archive contents will be read as part of ;; `package--update-downloads-in-progress'. - (dolist (archive package-archives) + (when async (cl-pushnew (cons archive file) package--downloads-in-progress :test #'equal)) (package--with-response-buffer (cdr archive) :file file |