1
Fork 0
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:
David Kastrup 2007-05-14 22:29:58 +00:00
parent 30ad056271
commit 01014cb1a1

View file

@ -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)