branch: externals/el-job
commit a0412a319c7f03542eaa7917486e8c75a2dc2d98
Author: Martin Edström <meedst...@runbox.eu>
Commit: Martin Edström <meedst...@runbox.eu>

    Style
---
 el-job.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/el-job.el b/el-job.el
index 723d395dcb..583b658c74 100644
--- a/el-job.el
+++ b/el-job.el
@@ -585,7 +585,7 @@ should trigger `el-job--handle-output'."
           busy-bufs)
       ;; Sanity check
       (unless (length< splits (1+ (length .ready)))
-        (if (or .busy (length= .ready 0))
+        (if (or .busy (null ready) (null splits))
             (error "el-job: Items split in %d lists, but only %d ready 
processes (and %d busy)"
                    (length splits) (length .ready) (length .busy))
           (warn "el-job: Items split in %d lists, but only %d ready processes. 
%s"

Reply via email to