summaryrefslogtreecommitdiff
path: root/java
diff options
context:
space:
mode:
authorJim Porter <jporterbugs@gmail.com>2024-01-25 17:54:13 -0800
committerJim Porter <jporterbugs@gmail.com>2024-01-25 17:54:13 -0800
commit65829b27ca4898ff0905a8124980243977a1382f (patch)
tree24a029b92c6b570710675ec07ee8a28c9f338722 /java
parent4834be0949e13a728b69ab97ac9c8a0dbec65f3a (diff)
downloademacs-65829b27ca4898ff0905a8124980243977a1382f.tar.gz
Improve handling of local variable settings in Eshell
This ensures that these commands work the same as normal commands, aside from making environment variable settings local to that command. Among other things, this means that "VAR=value cd dir/" now changes the directory correctly. * lisp/eshell/esh-var.el (eshell-in-local-scope-p) (eshell-local-variable-bindings): New variables. (eshell-var-initialize, eshell-set-variable): Use 'eshell-local-variable-bindings'. (eshell-handle-local-variables): Don't use 'eshell-as-subcommand'. * test/lisp/eshell/esh-var-tests.el (esh-var-test/local-variables/cd): New test.
Diffstat (limited to 'java')
0 files changed, 0 insertions, 0 deletions