[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#40949: 26.3; substitute-env-in-file-name: Undefined variables not su
From: |
Marcus Harnisch |
Subject: |
bug#40949: 26.3; substitute-env-in-file-name: Undefined variables not substituted |
Date: |
Tue, 28 Apr 2020 22:38:14 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 |
With commit ee041f2d07b6ed485dc34c115588f973f046c9d4 the function
`substitute-env-in-file-name' was introduced.
The function substitutes environment variable references in filenames
with the help of `substitute-env-vars'. On systems that are neither
windows-nt nor ms-dos, the optional argument to that function is set to
t with the consequence that references to undefined variables are not
substituted. This is unexpected, IMHO.
Expected behaviour would match that of shell expansion, which
substitutes undefined variables with the empty string.
Cheers,
Marcus
- bug#40949: 26.3; substitute-env-in-file-name: Undefined variables not substituted,
Marcus Harnisch <=