From: Po Lu Date: Sun, 12 Dec 2021 07:50:28 +0000 (+0800) Subject: Fix eshell for systems that do not have subprocesses X-Git-Tag: emacs-28.0.91~54 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=64ea1a178c6cb3a436eeb6783237bd603be4f5e4;p=emacs.git Fix eshell for systems that do not have subprocesses * lisp/eshell/esh-cmd.el (eshell-eval-command): Use `eshell-processp' instead of `processp'. --- diff --git a/lisp/eshell/esh-cmd.el b/lisp/eshell/esh-cmd.el index a2464ad4a98..213b7ab2893 100644 --- a/lisp/eshell/esh-cmd.el +++ b/lisp/eshell/esh-cmd.el @@ -945,12 +945,12 @@ at the moment are: ;; In that case, unwrap the value before checking the delimiter ;; value. (if (and val - (not (processp val)) + (not (eshell-processp val)) (not (eq val t))) (error "Unmatched delimiter: %S" val) ;; Eshell-command expect a list like () to know if the ;; command should be async or not. - (or (and (processp val) delim) val))))) + (or (and (eshell-processp val) delim) val))))) (defun eshell-resume-command (proc status) "Resume the current command when a process ends."