]> git.eshelyaron.com Git - emacs.git/commit
Fix non-interactive use of conditionals in Eshell
authorJim Porter <jporterbugs@gmail.com>
Sun, 14 Aug 2022 20:48:22 +0000 (13:48 -0700)
committerJim Porter <jporterbugs@gmail.com>
Tue, 16 Aug 2022 03:40:27 +0000 (20:40 -0700)
commitcf873c1a090b95746cf2f2a9a24a5e4bd7cc2cd6
tree5e8c9eb3498242e5f6fe208fdcb6b01dda0f47a4
parentc1f1be4b73072440518f02356998cf58ba127ebd
Fix non-interactive use of conditionals in Eshell

* lisp/eshell/esh-cmd.el (eshell-rewrite-if-command): Fix misplaced
't' symbol; it should be passed to 'eshell-invokify-arg'.
(eshell-do-eval): Pass 'synchronous-p' to recursive calls in some
missing cases.

* test/lisp/eshell/esh-cmd-tests.el (esh-cmd-test/if-statement,
(esh-cmd-test/if-else-statement)
(esh-cmd-test/if-else-statement-lisp-form)
(esh-cmd-test/if-else-statement-lisp-form-2)
(esh-cmd-test/if-else-statement-ext-cmd)
(esh-cmd-test/unless-statement)
(esh-cmd-test/unless-else-statement)
(esh-cmd-test/unless-else-statement-lisp-form)
(esh-cmd-test/unless-else-statement-ext-cmd): Use
'eshell-command-result-equal'.
lisp/eshell/esh-cmd.el
test/lisp/eshell/esh-cmd-tests.el