diff options
author | Jim Porter <jporterbugs@gmail.com> | 2022-02-04 22:41:39 -0800 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2022-02-05 07:58:59 +0100 |
commit | 785a045b868e0aeef08858e86a9efe48311e8f48 (patch) | |
tree | 2b87eab3110904dad4c8f6d139d1d5084bdfabd7 /lisp/emacs-lisp | |
parent | a8de2e20e093bb45231327e824ceb8421993634e (diff) | |
download | emacs-785a045b868e0aeef08858e86a9efe48311e8f48.tar.gz emacs-785a045b868e0aeef08858e86a9efe48311e8f48.tar.bz2 emacs-785a045b868e0aeef08858e86a9efe48311e8f48.zip |
Ensure that the CAR of 'eshell-last-async-procs' always points to a process
Previously, if a non-process was piped to a process, this could end up
being nil, which isn't correct. 'eshell-last-async-procs' should just
ignore non-process commands in a pipeline.
* lisp/eshell/esh-cmd.el (eshell-do-pipelines): Set 'headproc'
correctly.
* test/lisp/eshell/eshell-tests.el (eshell-test/pipe-headproc): New test.
Diffstat (limited to 'lisp/emacs-lisp')
0 files changed, 0 insertions, 0 deletions