aboutsummaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
authorJim Porter2023-01-28 17:04:11 -0800
committerJim Porter2023-03-16 22:17:02 -0700
commit1565dbcae35c1e42b22066fde226e3b063614a9e (patch)
tree70207fcd35d357263091c916599f1b9f3a92a692 /java
parente01660ca50ad360db78e5a0206ed824465c2aada (diff)
downloademacs-1565dbcae35c1e42b22066fde226e3b063614a9e.tar.gz
emacs-1565dbcae35c1e42b22066fde226e3b063614a9e.zip
Simplify usage of 'while' forms in Eshell's iterative evaluation
Now, 'eshell-do-eval' rewrites 'while' forms to let-bind variables for the command and test bodies. This means that external code, such as command rewriting hooks, no longer has to worry about this, making it easier to pass "normal" Lisp forms to 'eshell-do-eval' (bug#61954). * lisp/eshell/esh-cmd.el (eshell-command-body, eshell-test-body): No longer used outside of 'eshell-do-eval', so rename to... (eshell--command-body, eshell--test-body): ... these. (Command evaluation macros): Remove obsolete description about 'if' and 'while' forms. (eshell-rewrite-for-command, eshell-structure-basic-command): Remove 'eshell-command-body' and 'eshell-test-body'. (eshell-do-eval): Reimplement handling of 'while' forms.
Diffstat (limited to 'java')
0 files changed, 0 insertions, 0 deletions