diff --git a/lisp/cli/packages.el b/lisp/cli/packages.el index 4d0e4b29f..bc9ef51fa 100644 --- a/lisp/cli/packages.el +++ b/lisp/cli/packages.el @@ -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))