[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 2ed115fc3c 21/42: Fix indefinite loading of asynchronous download
From: |
Philip Kaludercic |
Subject: |
master 2ed115fc3c 21/42: Fix indefinite loading of asynchronous downloads |
Date: |
Thu, 17 Nov 2022 14:56:22 -0500 (EST) |
branch: master
commit 2ed115fc3ca98efb83206afa608f94edc48782d6
Author: Philip Kaludercic <philipk@posteo.net>
Commit: Philip Kaludercic <philipk@posteo.net>
Fix indefinite loading of asynchronous downloads
* lisp/emacs-lisp/package.el (package--download-one-archive): Only add
the archive that is actually being downloaded to
'package--downloads-in-progress'.
---
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 23e0bb15d0..f9786febf4 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
- master 7ab556b576 29/42: Improve robustness of 'package-vc-update', (continued)
- master 7ab556b576 29/42: Improve robustness of 'package-vc-update', Philip Kaludercic, 2022/11/17
- master 3326337776 30/42: Avoid destructive manipulation of 'package-vc--archive-spec-alist', Philip Kaludercic, 2022/11/17
- master 32f51f17c4 33/42: Remove temporary .texi files if used to build documentation, Philip Kaludercic, 2022/11/17
- master 228c247e6f 34/42: Remove duplicate package descriptions after updating, Philip Kaludercic, 2022/11/17
- master 4bd7ae833f 36/42: Allow the direct installation of package specifications, Philip Kaludercic, 2022/11/17
- master 53c90abfa8 37/42: ; * lisp/emacs-lisp/package-vc.el: Update TODO, Philip Kaludercic, 2022/11/17
- master aadf07f5b8 05/42: Autoload 'package-vc-install-selected-packages', Philip Kaludercic, 2022/11/17
- master 9f4a433b27 12/42: Fix generation of documentation for source packages, Philip Kaludercic, 2022/11/17
- master aa56e50fe2 23/42: Raise 'wrong-type-argument' when installing package nil, Philip Kaludercic, 2022/11/17
- master d0ea38b5fe 27/42: Have 'vc-prepare-patch' handle prefix arguments., Philip Kaludercic, 2022/11/17
- master 2ed115fc3c 21/42: Fix indefinite loading of asynchronous downloads,
Philip Kaludercic <=
- master a6cd44734d 18/42: Remove unused variable in 'package-vc--unpack', Philip Kaludercic, 2022/11/17
- master fd4da9151f 28/42: * lisp/vc/vc.el (vc-default-last-change): Use 'vc-call', Philip Kaludercic, 2022/11/17
- master c8e5069e6d 24/42: Add new command 'package-vc-update-all', Philip Kaludercic, 2022/11/17
- master 345bfd376e 31/42: Add missing elpa-package.eld to package test resources, Philip Kaludercic, 2022/11/17
- master 4aee4cde3a 26/42: Explain that 'package-vc-install' doesn't remove tarball packages, Philip Kaludercic, 2022/11/17
- master 11cb810356 32/42: Fix the behaviour of 'byte-compile-ignore-files', Philip Kaludercic, 2022/11/17
- master 874d8a418f 35/42: Only fetch elpa-packages.eld when necessary, Philip Kaludercic, 2022/11/17
- master 5b8f165f75 38/42: Fix issues related to 'package-vc-install-from-checkout', Philip Kaludercic, 2022/11/17
- master fb6d62f881 41/42: ; Clarify what a package specification is, Philip Kaludercic, 2022/11/17
- master 0b77909cac 39/42: Avoid duplicate source packages in 'package-alist', Philip Kaludercic, 2022/11/17