1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-29 08:31:35 -08:00
emacs/doc
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
..
emacs Open org-protocol:// links on Android 2023-09-02 10:06:05 +08:00
lispintro ; * doc/lispintro/emacs-lisp-intro.texi (car & cdr): Fix typo. 2023-06-25 08:27:01 +03:00
lispref Output better error messages on certain edebug spec errors 2023-09-02 13:50:03 +00:00
man ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
misc Display the exit code if the last command failed in Eshell 2023-09-02 15:40:04 -07:00