]> git.eshelyaron.com Git - emacs.git/commit
Add support for range objects in Eshell "for" loops
authorJim Porter <jporterbugs@gmail.com>
Sun, 3 Nov 2024 19:56:15 +0000 (11:56 -0800)
committerEshel Yaron <me@eshelyaron.com>
Fri, 8 Nov 2024 13:30:43 +0000 (14:30 +0100)
commitf9e7d25cf682e4f0ff113f7fa8b564c2481cf32d
treed39a7c599c36f337296e3112b1e8a2533ad8349d
parente6da81c7fd8a667ba9231b6670dfac3684dd86f9
Add support for range objects in Eshell "for" loops

* lisp/eshell/esh-cmd.el (eshell-for-iterate): Add support for
'eshell-range' objects.

* test/lisp/eshell/esh-cmd-tests.el (esh-cmd-test/for-loop-range): New
test.

* doc/misc/eshell.texi (Control Flow): Update documentation.

* etc/NEWS: Announce this change.

(cherry picked from commit ee87af4f1603d2042afa641e74df0403a49af1c5)
doc/misc/eshell.texi
etc/NEWS
lisp/eshell/esh-cmd.el
test/lisp/eshell/esh-cmd-tests.el