1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-15 07:41:09 -08:00
emacs/doc
Jim Porter fada04cfc7 Add support for chaining conditionals in Eshell
* lisp/eshell/esh-cmd.el (eshell-structure-basic-command): Check for the
presence of the conditional.  Allow any number of BODY forms.
(eshell-rewrite-if-command): Add support for 'else' keyword and chained
conditionals.

* test/lisp/eshell/esh-cmd-tests.el (esh-cmd-test/if-else-statement):
Test 'else' keyword.
(esh-cmd-test/if-else-statement-chain): New test.

* doc/misc/eshell.texi (Control Flow): Document this change.

* etc/NEWS: Announce this change.
2024-10-16 21:48:36 -07:00
..
emacs Add foldout command for widening to current fold 2024-10-12 14:52:32 +03:00
lispintro Update FSF's address 2024-09-02 21:02:09 +02:00
lispref Merge from origin/emacs-30 2024-10-12 05:53:27 -04:00
man New command-line options for 'etags' 2024-10-08 15:39:33 +03:00
misc Add support for chaining conditionals in Eshell 2024-10-16 21:48:36 -07:00
translations ; Fix typos 2024-06-07 23:51:18 +02:00