aboutsummaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
authorJim Porter2023-01-28 15:06:31 -0800
committerJim Porter2023-03-16 22:16:52 -0700
commite01660ca50ad360db78e5a0206ed824465c2aada (patch)
tree37de47b3e042ff082d0db4c98647659aaadec623 /java
parent67a2b320f61642d0cbbce31ac34d4e1ce77c9230 (diff)
downloademacs-e01660ca50ad360db78e5a0206ed824465c2aada.tar.gz
emacs-e01660ca50ad360db78e5a0206ed824465c2aada.zip
Simplify how Eshell's iterative evaluation handles 'if' forms
The previous implementation used 'eshell-test-body' and 'eshell-command-body' to track the condition and the then/else forms, but those special variables are only needed for looping. 'if' only evaluates each form once at most (bug#61954). * lisp/eshell/esh-cmd.el (Command evaluation macros): Remove 'if' from the notes about 'eshell-test-body' and 'eshell-command-body'. (eshell-do-eval): Reimplement evaluation of 'if' forms. (eshell-eval-command): Don't let-bind 'eshell-command-body' and 'eshell-test-body'; they're no longer needed here.
Diffstat (limited to 'java')
0 files changed, 0 insertions, 0 deletions