]> git.eshelyaron.com Git - emacs.git/commit
Simplify iteration in Eshell for loops
authorJim Porter <jporterbugs@gmail.com>
Fri, 27 Jan 2023 07:18:42 +0000 (23:18 -0800)
committerJim Porter <jporterbugs@gmail.com>
Fri, 17 Mar 2023 05:16:37 +0000 (22:16 -0700)
commit67a2b320f61642d0cbbce31ac34d4e1ce77c9230
tree48e54ce8b87993adf78491031ee6ecc8fdda81da
parent0330cff65ae837e93ae4d059acf643734d16386d
Simplify iteration in Eshell for loops

The previous code fixed an issue in Eshell's iterative evaluation
where deferred commands caused an infinite loop (see bug#12571).
However, with the fix to unwinding let forms in 'eshell-do-eval' (see
bug#59469), we can just write this code as we normally would
(bug#61954).

* lisp/eshell/esh-cmd.el (eshell-rewrite-for-command): Simplify.
lisp/eshell/esh-cmd.el