Mercurial > emacs
diff lisp/eshell/esh-cmd.el @ 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 | 67b464da13ec |
children | bb0835bc6023 |
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)