[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
scratch/package-vc-fixes ff90ad5277 24/48: Fix indefinite loading of asy
From: |
Philip Kaludercic |
Subject: |
scratch/package-vc-fixes ff90ad5277 24/48: Fix indefinite loading of asynchronous downloads |
Date: |
Wed, 16 Nov 2022 04:50:02 -0500 (EST) |
branch: scratch/package-vc-fixes
commit ff90ad5277820d4ceef3efaa240c86e3f41197a2
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 893b3617bb..8e9386202f 100644
--- a/lisp/emacs-lisp/package.el
+++ b/lisp/emacs-lisp/package.el
@@ -1806,7 +1806,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
- scratch/package-vc-fixes 7815894592 11/48: Remove references to internal symbols from public docstrings, (continued)
- scratch/package-vc-fixes 7815894592 11/48: Remove references to internal symbols from public docstrings, Philip Kaludercic, 2022/11/16
- scratch/package-vc-fixes 2121ef0899 12/48: Fix generation of documentation for source packages, Philip Kaludercic, 2022/11/16
- scratch/package-vc-fixes 4b30679030 15/48: Explain what "refreshing" a source package means, Philip Kaludercic, 2022/11/16
- scratch/package-vc-fixes aab49e7baa 35/48: * lisp/emacs-lisp/package.el (package-lisp-dir): Fix return value, Philip Kaludercic, 2022/11/16
- scratch/package-vc-fixes aeb386007b 04/48: Mark 'package-vc-install-selected-packages' as interactive, Philip Kaludercic, 2022/11/16
- scratch/package-vc-fixes 32310b69ab 01/48: ; Fix interactive spec for 'package-vc-refresh', Philip Kaludercic, 2022/11/16
- scratch/package-vc-fixes bea359d186 05/48: Autoload 'package-vc-install-selected-packages', Philip Kaludercic, 2022/11/16
- scratch/package-vc-fixes d051b24c3c 09/48: Clarify 'package-vc--build-documentation' docstring, Philip Kaludercic, 2022/11/16
- scratch/package-vc-fixes 7e15f35bac 19/48: Avoid using 'package-lisp-dir' in 'package-generate-autoloads', Philip Kaludercic, 2022/11/16
- scratch/package-vc-fixes 315a61bbc7 18/48: Remove unused variable in 'package-vc--unpack', Philip Kaludercic, 2022/11/16
- scratch/package-vc-fixes ff90ad5277 24/48: Fix indefinite loading of asynchronous downloads,
Philip Kaludercic <=
- scratch/package-vc-fixes 92730e0a5e 25/48: Clarify 'package-vc-selected-packages' docstring, Philip Kaludercic, 2022/11/16
- scratch/package-vc-fixes 4b47dc81d6 37/48: Add missing elpa-package.eld to package test resources, Philip Kaludercic, 2022/11/16
- scratch/package-vc-fixes 9ca8236a03 33/48: * lisp/vc/vc.el (vc-default-last-change): Use 'vc-call', Philip Kaludercic, 2022/11/16
- scratch/package-vc-fixes 42b01caac1 39/48: Avoid updating non-source packages in 'package-vc-update-all', Philip Kaludercic, 2022/11/16
- scratch/package-vc-fixes bef3acf0f0 31/48: Explain that 'package-vc-install' doesn't remove tarball packages, Philip Kaludercic, 2022/11/16
- scratch/package-vc-fixes 58e2e8cced 44/48: ; * lisp/emacs-lisp/package-vc.el: Update TODO, Philip Kaludercic, 2022/11/16
- scratch/package-vc-fixes 2e007c62f3 14/48: Track 'default-directory' while updating source packages, Philip Kaludercic, 2022/11/16
- scratch/package-vc-fixes 3046447102 22/48: ; Assert that 'package-lisp-dir' is used with real packages, Philip Kaludercic, 2022/11/16
- scratch/package-vc-fixes 78830856bc 28/48: Rename 'package-vc-refresh' to 'package-vc-rebuild', Philip Kaludercic, 2022/11/16
- scratch/package-vc-fixes 2024a01fdc 30/48: Mention package name when package is lacking VC data, Philip Kaludercic, 2022/11/16