(setcdr form (cdr new-form)))
(eshell-do-eval form synchronous-p))
(if-let (((memq (car form) eshell-deferrable-commands))
- (procs (eshell-make-process-list result))
- (active (seq-some #'eshell-process-active-p procs)))
+ (procs (eshell-make-process-list result)))
(if synchronous-p
(apply #'eshell/wait procs)
(eshell-manipulate form "inserting ignore form"
(setcar form 'ignore)
(setcdr form nil))
- (when active
+ (when (seq-some #'eshell-process-active-p procs)
(throw 'eshell-defer procs)))
(list 'quote result))))))))))))