(eshell-eval-command): If eshell-resume-eval
returns t, don't treat that as an error.
This commit is contained in:
parent
990d68dde9
commit
4c334f5b15
2 changed files with 8 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2002-01-26 Eli Zaretskii <eliz@is.elta.co.il>
|
||||
|
||||
* eshell/esh-cmd.el (eshell-eval-command): If eshell-resume-eval
|
||||
returns t, don't treat that as an error.
|
||||
|
||||
2002-01-25 Jason Rumney <jasonr@gnu.org>
|
||||
|
||||
* faces.el (face-font-registry-alternatives) [windows-nt]: Add
|
||||
|
|
|
@ -1008,7 +1008,9 @@ at the moment are:
|
|||
(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)
|
||||
|
|
Loading…
Add table
Reference in a new issue