]> git.eshelyaron.com Git - emacs.git/commit
Allow checking specific Eshell handles for interactive output
authorJim Porter <jporterbugs@gmail.com>
Mon, 29 Aug 2022 03:50:27 +0000 (20:50 -0700)
committerJim Porter <jporterbugs@gmail.com>
Sun, 4 Sep 2022 22:15:01 +0000 (15:15 -0700)
commit3d6c013a27e0b72c8fbe2d47f752dd0dfd4ff47a
treef9e11782317ce85d6d4ce78ce60aef11a4117876
parent1be925faa1065af5754fc11914b56ae98dfb2a83
Allow checking specific Eshell handles for interactive output

This changes the default behavior of the function to check only stdout
for interactivity, but for most cases this should be what we want.

* lisp/eshell/esh-io.el (eshell-interactive-output-p): Pass HANDLES
and handle INDEX.

* lisp/eshell/em-term.el (eshell-visual-command-p): Check for
interactivity of both stdout and stderr.
lisp/eshell/em-term.el
lisp/eshell/esh-io.el