Fix executing commands in Eshell using "env" with no local variables
authorJim Porter <jporterbugs@gmail.com>
Wed, 25 Sep 2024 18:59:32 +0000 (11:59 -0700)
committerJim Porter <jporterbugs@gmail.com>
Mon, 30 Sep 2024 01:22:45 +0000 (18:22 -0700)
commit11e3e0cadd46ee49007477af1335ddd5365debe2
treec3cdfd967f1e8cade410e4155224ca66a618c282
parentc0ef8a9a1b39c63de17b375485cc405f994d4e55
Fix executing commands in Eshell using "env" with no local variables

* lisp/eshell/esh-var.el (eshell/env): Throw 'eshell-replace-command' as
needed.

* test/lisp/eshell/esh-var-tests.el
(esh-var-test/local-variables/env/no-locals): New test (bug#73479).
lisp/eshell/esh-var.el
test/lisp/eshell/esh-var-tests.el