]> git.eshelyaron.com Git - emacs.git/commit
Ensure that deferred commands don't make Eshell forget let-bound values
authorJim Porter <jporterbugs@gmail.com>
Wed, 25 Jan 2023 01:14:54 +0000 (17:14 -0800)
committerJim Porter <jporterbugs@gmail.com>
Fri, 10 Feb 2023 05:38:07 +0000 (21:38 -0800)
commitc53255f67758cbd528c3422e248c0cb979a9a676
tree29bbfc451181b57dd43ad2520a269003416f22ef
parentd6d25a3c221e566de4df5319181e9ba9a8df285e
Ensure that deferred commands don't make Eshell forget let-bound values

* lisp/eshell/esh-cmd.el (Command evaluation macros): Expand this
documentation to list allowed special forms and caveats for working
with 'if' and 'while'.
(eshell-do-eval): Provide more detail in docstring.  Handle
'eshell-defer' inside 'let' forms.

* test/lisp/eshell/esh-cmd-tests.el
(esh-cmd-test/let-rebinds-after-defer): New test (bug#59469).
lisp/eshell/esh-cmd.el
test/lisp/eshell/esh-cmd-tests.el