1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-29 08:31:35 -08:00
emacs/test/lisp/eshell
Davide Masserut 3d08d0dd80 Display the exit code if the last command failed in Eshell
* lisp/eshell/esh-io.el (eshell-last-command-status): Make
buffer-local.

* lisp/eshell/em-prompt.el (eshell-prompt-function): Insert the exit
code if last command failed.

* test/lisp/eshell/em-prompt-tests.el (em-prompt-test/after-failure):
New test.
(em-prompt-test/next-previous-prompt-1)
(em-prompt-test/forward-backward-matching-input-1): Add a failing
command to tests.

* doc/misc/eshell.texi (Invocation): Document change.

* etc/NEWS: Announce change (bug#65604).
2023-09-02 15:40:04 -07:00
..
em-alias-tests.el Merge from origin/emacs-29 2023-01-01 05:47:47 -05:00
em-basic-tests.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
em-cmpl-tests.el Avoid parsing some Eshell forms when performing completion 2023-03-28 12:03:29 -07:00
em-dirs-tests.el Fix listing of directory contents after "cd" in Eshell 2023-08-07 19:35:43 -07:00
em-extpipe-tests.el ; Fix Eshell tests 2023-08-14 09:20:34 -07:00
em-glob-tests.el Allow splicing Eshell globs in-place 2023-08-21 11:42:46 -07:00
em-hist-tests.el Fix behavior of 'eshell-hist-ignoredups' when set to 'erase' 2023-08-23 18:27:45 -07:00
em-ls-tests.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
em-pred-tests.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
em-prompt-tests.el Display the exit code if the last command failed in Eshell 2023-09-02 15:40:04 -07:00
em-script-tests.el Merge from origin/emacs-29 2023-01-01 05:47:47 -05:00
em-tramp-tests.el Merge from origin/emacs-29 2023-01-01 05:47:47 -05:00
em-unix-tests.el Add 'compile' builtin command for Eshell 2023-08-16 10:01:49 -07:00
esh-arg-tests.el Add support for completing special references (e.g. buffers) in Eshell 2023-03-11 18:49:28 -08:00
esh-cmd-tests.el Avoid shadowing variables in some Eshell command forms 2023-04-01 16:24:31 -07:00
esh-ext-tests.el Add support for explicitly-remote commands in Eshell 2023-07-10 12:27:09 -07:00
esh-io-tests.el Use generics to define Eshell output targets 2023-08-21 11:43:24 -07:00
esh-opt-tests.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
esh-proc-tests.el ; Add tests for synchronous processes in Eshell 2023-04-02 14:15:45 -07:00
esh-util-tests.el Merge from origin/emacs-29 2023-09-02 04:28:17 -04:00
esh-var-tests.el Support 'comint-pager' in Eshell 2023-08-23 16:46:25 -07:00
eshell-tests-helpers.el ; Fix debug logging for synchronous commands in Eshell tests 2023-09-01 09:26:14 -07:00
eshell-tests-unload.el Allow unloading Eshell 2023-02-15 17:31:52 -08:00
eshell-tests.el ; Fix Eshell tests 2023-08-14 09:20:34 -07:00