Commit 01014cb1 authored by David Kastrup's avatar David Kastrup
Browse files

(getenv): Fix reverted by demand of Dan Nicolaescu

because it exposes further problems.
parent 30ad0562
......@@ -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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment