Commit 30ad0562 authored by David Kastrup's avatar David Kastrup
Browse files

(getenv): Pass frame to getenv-internal.

parent 2ccf5941
......@@ -212,7 +212,8 @@ 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))))
variable)
frame)))
(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