summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/debug.el
diff options
context:
space:
mode:
authorJim Porter <jporterbugs@gmail.com>2024-10-04 22:26:01 -0700
committerJim Porter <jporterbugs@gmail.com>2024-10-16 21:48:36 -0700
commitfada04cfc788a486265c9da6636611986b48ae49 (patch)
tree6c3efdae89bad52902a07ce50a2b767f1b630292 /lisp/emacs-lisp/debug.el
parent40ffacb34b194aa82273539ab7a5be2f485a706f (diff)
downloademacs-fada04cfc788a486265c9da6636611986b48ae49.tar.gz
emacs-fada04cfc788a486265c9da6636611986b48ae49.tar.bz2
emacs-fada04cfc788a486265c9da6636611986b48ae49.zip
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.
Diffstat (limited to 'lisp/emacs-lisp/debug.el')
0 files changed, 0 insertions, 0 deletions