]> git.eshelyaron.com Git - emacs.git/commit
Allow using multiple buffers in 'eshell-command'
authorThierry Volpiatto <thievol@posteo.net>
Wed, 19 Jun 2024 10:02:59 +0000 (12:02 +0200)
committerEshel Yaron <me@eshelyaron.com>
Sun, 7 Jul 2024 13:16:55 +0000 (15:16 +0200)
commit4ab195df11afb66253aea8825e9185c25e90c428
treec85bcc421d6c8028a8d42e558df43ce3375d4a39
parent63cb2c0e03147d8554ee27d5538ca8168dc6197c
Allow using multiple buffers in 'eshell-command'

Provide the same functionality as 'async-shell-command-buffer' but for
'eshell-command'.

Co-Authored-By: Jim Porter <jporterbugs@gmail.com>
* lisp/eshell/eshell.el (eshell-command-async-buffer): New option...
(eshell-command): ... use it.

* lisp/eshell/esh-proc.el (eshell-sentinel): Check for buffer liveness
in 'finish-io'.

* test/lisp/eshell/eshell-tests.el
(eshell-test/eshell-command/output-buffer/async-kill): New test.

* etc/NEWS: Announce this change (bug#71554).

(cherry picked from commit 7f631a3e2aca97e95b8659c902c25ab21f084e08)
etc/NEWS
lisp/eshell/esh-proc.el
lisp/eshell/eshell.el
test/lisp/eshell/eshell-tests.el