mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
(getenv): Fix reverted by demand of Dan Nicolaescu
because it exposes further problems.
This commit is contained in:
parent
30ad056271
commit
01014cb1a1
1 changed files with 1 additions and 2 deletions
|
|
@ -212,8 +212,7 @@ in the environment list of the selected frame."
|
|||
(let ((value (getenv-internal (if (multibyte-string-p variable)
|
||||
(encode-coding-string
|
||||
variable locale-coding-system)
|
||||
variable)
|
||||
frame)))
|
||||
variable))))
|
||||
(if (and enable-multibyte-characters value)
|
||||
(setq value (decode-coding-string value locale-coding-system)))
|
||||
(when (interactive-p)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue