• Glenn Morris's avatar
    * lisp/eshell/esh-cmd.el (eshell--local-vars): New variable. · 1e53bb4b
    Glenn Morris authored
    (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
    
    * lisp/eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
    
    * test/automated/eshell.el (eshell-test/for-name-shadow-loop):
    New test.
    (eshell-test/for-loop, eshell-test/for-name-loop): Doc fix.
    
    Fixes: debbugs:15372
    1e53bb4b
ChangeLog 287 KB