]> git.eshelyaron.com Git - emacs.git/commit
Keep subcommands in pipelines from clobbering the head/tail processes
authorJim Porter <jporterbugs@gmail.com>
Mon, 23 May 2022 00:27:48 +0000 (17:27 -0700)
committerLars Ingebrigtsen <larsi@gnus.org>
Tue, 24 May 2022 12:58:00 +0000 (14:58 +0200)
commita49ecdd0ff2b2526fcc519bb23ce1f5113c8fb1d
treed8ac3f279ad977d2ae21f42d27a389b6b53ecddd
parentbe17333acee2086d1c729197dfe64432f6ad6625
Keep subcommands in pipelines from clobbering the head/tail processes

* lisp/eshell/esh-cmd.el (eshell-execute-pipeline): Use 'make-symbol'
for headproc and tailproc.
(eshell-do-pipelines, eshell-do-pipelines-synchronously): Adapt to the
above.

* test/lisp/eshell/eshell-tests.el (eshell-test/pipe-subcommand)
(eshell-test/pipe-subcommand-with-pipe): New test.

* doc/misc/eshell.texi (Bugs and ideas): Remove item about piping to
process from loop; this commit fixes it (bug#55590).
doc/misc/eshell.texi
lisp/eshell/esh-cmd.el
test/lisp/eshell/eshell-tests.el