changeset 42971:a4e7fd8ad209

(eshell-eval-command): If eshell-resume-eval returns t, don't treat that as an error.
author Eli Zaretskii <eliz@gnu.org>
date Sat, 26 Jan 2002 12:05:22 +0000
parents 8b1bab5b4e0b
children 41ffbfee5d0b
files lisp/eshell/esh-cmd.el
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/eshell/esh-cmd.el	Sat Jan 26 00:03:28 2002 +0000
+++ b/lisp/eshell/esh-cmd.el	Sat Jan 26 12:05:22 2002 +0000
@@ -1008,7 +1008,9 @@
     (setq eshell-current-command command)
     (let ((delim (catch 'eshell-incomplete
 		   (eshell-resume-eval))))
-      (if delim
+      ;; On systems that don't support async subprocesses, eshell-resume
+      ;; can return t.  Don't treat that as an error.
+      (if (and delim (not (eq delim t)))
 	  (error "Unmatched delimiter: %c"
 		 (if (listp delim)
 		     (car delim)