From 64ea1a178c6cb3a436eeb6783237bd603be4f5e4 Mon Sep 17 00:00:00 2001 From: Po Lu Date: Sun, 12 Dec 2021 15:50:28 +0800 Subject: [PATCH] Fix eshell for systems that do not have subprocesses * lisp/eshell/esh-cmd.el (eshell-eval-command): Use `eshell-processp' instead of `processp'. --- lisp/eshell/esh-cmd.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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." -- 2.39.2