]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix eshell for systems that do not have subprocesses
authorPo Lu <luangruo@yahoo.com>
Sun, 12 Dec 2021 07:50:28 +0000 (15:50 +0800)
committerPo Lu <luangruo@yahoo.com>
Sun, 12 Dec 2021 07:50:28 +0000 (15:50 +0800)
* lisp/eshell/esh-cmd.el (eshell-eval-command): Use
`eshell-processp' instead of `processp'.

lisp/eshell/esh-cmd.el

index a2464ad4a983bec1f1ee601ff1c7cc1dc5e24c71..213b7ab28938eb58baab7b6c60fc5e1f730783ff 100644 (file)
@@ -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 (<process>) 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."