]> git.eshelyaron.com Git - emacs.git/commit
Don't emit a prompt in Eshell when a background command is killed
authorJim Porter <jporterbugs@gmail.com>
Tue, 9 Jul 2024 17:45:35 +0000 (10:45 -0700)
committerEshel Yaron <me@eshelyaron.com>
Fri, 12 Jul 2024 18:00:05 +0000 (20:00 +0200)
commitbb0437892fcde37e434d2236b6e28d04a6c635fc
treea3e3e76fc7589ab65772ff17b76702a0bedfbd2d
parentefbba890964c5a8a8dfa39173a3c4a88d1dfa019
Don't emit a prompt in Eshell when a background command is killed

* lisp/eshell/esh-cmd.el (eshell-resume-command): Check for
background-ness before resetting the prompt.

* test/lisp/eshell/esh-cmd-tests.el
(esh-cmd-test/background/simple-command): Make the regexp a bit
stricter.
(esh-cmd-test/background/kill): New test.

(cherry picked from commit 0de0056fd6b3b70dde54884db5d9ffc013c49efc)
lisp/eshell/esh-cmd.el
test/lisp/eshell/esh-cmd-tests.el