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
..
2024-09-13 00:18:37 +02:00
2024-07-21 17:35:13 +02:00
2024-08-25 13:59:22 +03:00
2024-08-25 13:59:22 +03:00
2024-09-28 07:59:16 -04:00
2024-10-05 02:30:41 +02:00
2024-07-21 17:35:13 +02:00
2024-08-25 13:59:22 +03:00
2024-03-23 20:17:01 +01:00
2024-07-21 17:35:13 +02:00
2024-07-21 17:35:13 +02:00
2024-09-11 10:44:25 +02:00
2024-01-02 09:47:10 +08:00
2024-07-25 03:35:18 +02:00
2024-09-07 06:25:15 -04:00
2024-10-09 06:26:27 -05:00
2024-10-03 13:43:25 -04:00
2024-01-02 09:47:10 +08:00
2024-07-21 17:35:13 +02:00
2024-02-17 11:31:20 +02:00
2024-10-11 16:13:09 -07:00
2024-08-15 11:30:48 +03:00
2024-10-16 21:48:36 -07:00
2024-08-25 13:59:22 +03:00
2024-07-04 12:14:37 -07:00
2024-07-21 17:35:13 +02:00
2024-07-21 17:35:13 +02:00
2024-07-22 10:14:51 +02:00
2024-08-29 00:17:10 +02:00
2024-07-21 17:35:13 +02:00
2024-07-21 17:35:13 +02:00
2024-01-02 09:47:10 +08:00
2024-07-21 17:35:13 +02:00
2024-01-02 09:47:10 +08:00
2024-09-30 03:28:17 +02:00
2024-07-21 17:35:13 +02:00
2024-01-02 10:28:14 +08:00
2024-08-21 11:07:47 +03:00
2024-07-21 17:35:13 +02:00
2024-07-21 17:35:13 +02:00
2024-01-02 10:28:14 +08:00
2024-01-02 09:47:10 +08:00
2024-09-02 21:02:09 +02:00
2024-07-21 17:35:13 +02:00
2024-01-02 09:47:10 +08:00
2024-07-21 17:35:13 +02:00
2024-07-21 17:35:13 +02:00
2024-01-02 09:47:10 +08:00
2024-01-02 09:47:10 +08:00
2024-07-21 17:35:13 +02:00
2024-01-02 09:47:10 +08:00
2024-07-18 11:46:50 +02:00
2024-07-21 17:35:13 +02:00
2024-01-02 09:47:10 +08:00
2024-01-02 09:47:10 +08:00
2024-07-21 17:35:13 +02:00
2024-01-02 09:47:10 +08:00
2024-02-14 22:05:06 -08:00
2024-07-21 17:35:13 +02:00
2024-10-13 18:05:39 +02:00
2024-07-24 15:25:55 +02:00
2024-09-14 19:23:40 +02:00
2024-01-02 10:28:14 +08:00
2024-07-25 03:35:18 +02:00
2024-07-21 17:35:13 +02:00
2024-07-21 17:35:13 +02:00
2024-09-07 11:27:03 +03:00
2024-07-21 17:35:13 +02:00
2024-08-25 13:59:22 +03:00
2024-01-02 09:47:10 +08:00