1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-22 12:33:53 -08:00
emacs/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.el
em-banner.el
em-basic.el Add debug instrumentation for Eshell process management 2023-08-31 18:42:03 -07:00
em-cmpl.el Enable remote file name completion in eshell depending on command (bug#65356) 2023-08-23 09:53:40 +02:00
em-dirs.el Fix listing of directory contents after "cd" in Eshell 2023-08-07 19:35:43 -07:00
em-elecslash.el
em-extpipe.el
em-glob.el Allow splicing Eshell globs in-place 2023-08-21 11:42:46 -07:00
em-hist.el Fix behavior of 'eshell-hist-ignoredups' when set to 'erase' 2023-08-23 18:27:45 -07:00
em-ls.el Don't try to set variable removed in Emacs 21 2023-08-25 01:41:47 +02:00
em-pred.el Allow splicing Eshell globs in-place 2023-08-21 11:42:46 -07:00
em-prompt.el Display the exit code if the last command failed in Eshell 2023-09-02 15:40:04 -07:00
em-rebind.el Document optional Eshell modules 2023-07-01 12:03:56 -07:00
em-script.el
em-smart.el Make eshell-redisplay into alias for redisplay 2023-08-05 17:57:53 +02:00
em-term.el Add nvim and ncmpcpp to eshell-visual-commands 2023-08-02 21:57:15 +02:00
em-tramp.el
em-unix.el Add 'compile' builtin command for Eshell 2023-08-16 10:01:49 -07:00
em-xtra.el
esh-arg.el Return separators from 'eshell-split-commands' directly when requested 2023-08-10 10:55:49 -07:00
esh-cmd.el Fix handling of Eshell debug modes 2023-08-31 18:42:03 -07:00
esh-ext.el Add support for explicitly-remote commands in Eshell 2023-07-10 12:27:09 -07:00
esh-io.el Display the exit code if the last command failed in Eshell 2023-09-02 15:40:04 -07:00
esh-mode.el
esh-module.el
esh-opt.el
esh-proc.el Add debug instrumentation for Eshell process management 2023-08-31 18:42:03 -07:00
esh-util.el Merge from origin/emacs-29 2023-09-02 04:28:17 -04:00
esh-var.el Support 'comint-pager' in Eshell 2023-08-23 16:46:25 -07:00
eshell.el ; Fix debug logging for synchronous commands in Eshell tests 2023-09-01 09:26:14 -07:00