fix: obey the comp namespace change

Some of the comp functions were declared private.
This commit is contained in:
StrawberryTea 2024-05-30 21:17:09 -05:00 committed by Henrik Lissner
parent 9620bb45ac
commit 2729a3f7e3

View File

@ -208,7 +208,10 @@ list remains lean."
(cl-loop with previous = 0
with timeout = 30
with timer = 0
for pending = (+ (length comp-files-queue) (comp-async-runnings))
for pending = (+ (length comp-files-queue)
(if (functionp 'comp--async-runnings)
(comp--async-runnings)
(comp-async-runnings)))
while (not (zerop pending))
if (/= previous pending) do
(print! (start "\033[KNatively compiling %d files...\033[1A" pending))