aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/eshell/esh-cmd.el4
1 files 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:
945 ;; In that case, unwrap the value before checking the delimiter 945 ;; In that case, unwrap the value before checking the delimiter
946 ;; value. 946 ;; value.
947 (if (and val 947 (if (and val
948 (not (processp val)) 948 (not (eshell-processp val))
949 (not (eq val t))) 949 (not (eq val t)))
950 (error "Unmatched delimiter: %S" val) 950 (error "Unmatched delimiter: %S" val)
951 ;; Eshell-command expect a list like (<process>) to know if the 951 ;; Eshell-command expect a list like (<process>) to know if the
952 ;; command should be async or not. 952 ;; command should be async or not.
953 (or (and (processp val) delim) val))))) 953 (or (and (eshell-processp val) delim) val)))))
954 954
955(defun eshell-resume-command (proc status) 955(defun eshell-resume-command (proc status)
956 "Resume the current command when a process ends." 956 "Resume the current command when a process ends."