[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#62452: 30.0.50; [PATCH] Avoid shadowing variables in some Eshell com
From: |
Jim Porter |
Subject: |
bug#62452: 30.0.50; [PATCH] Avoid shadowing variables in some Eshell command forms |
Date: |
Sat, 25 Mar 2023 21:48:13 -0700 |
To see this in action, start from "emacs -Q -f eshell", then:
~ $ setq value "hi there"
hi there
~ $ echo $value
hi there
~ $ echo ${echo $value}
eshell-temp
The last command should *also* print "hi there", but the variable
'value' gets shadowed by some internal Eshell code. (A similar problem
occurs for 'for-items' when using a for loop in Eshell.)
Patch attached.
0001-Avoid-shadowing-variables-in-some-Eshell-command-for.patch
Description: Text document
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- bug#62452: 30.0.50; [PATCH] Avoid shadowing variables in some Eshell command forms,
Jim Porter <=