]> git.eshelyaron.com Git - emacs.git/commit
em-extpipe: Catch eshell-incomplete thrown while parsing
authorSean Whitton <spwhitton@spwhitton.name>
Sat, 2 Apr 2022 14:08:41 +0000 (16:08 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Sat, 2 Apr 2022 14:08:41 +0000 (16:08 +0200)
commit02ef00d89c64d713f29f4ed12dbcae9f8d31bb9a
tree6ab04d444de9548c34af9aa36e94e4c6447bbbc5
parent6dc4e3b95ca9589f24530979cdc83ea346d1ca45
em-extpipe: Catch eshell-incomplete thrown while parsing

* lisp/eshell/em-extpipe.el (em-extpipe--or-with-catch): New macro.
(eshell-parse-external-pipeline): Use new macro to treat
`eshell-incomplete' as a failure of the parse function to move us
forward (Bug#54603).  Thanks to Jim Porter <jporterbugs@gmail.com> for
the report and for help isolating the problem.

* test/lisp/eshell/eshell-tests.el
(eshell-test/lisp-command-with-quote): New test for Bug#54603, thanks
to Jim Porter <jporterbugs@gmail.com> (bug#54603).
lisp/eshell/em-extpipe.el
test/lisp/eshell/eshell-tests.el