Fix eshell for systems that do not have subprocesses
* lisp/eshell/esh-cmd.el (eshell-eval-command): Use `eshell-processp' instead of `processp'.
This commit is contained in:
parent
8a0734329a
commit
64ea1a178c
1 changed files with 2 additions and 2 deletions
|
@ -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."
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue