(getenv): Fix reverted by demand of Dan Nicolaescu
authorDavid Kastrup <dak@gnu.org>
Mon, 14 May 2007 22:29:58 +0000 (22:29 +0000)
committerDavid Kastrup <dak@gnu.org>
Mon, 14 May 2007 22:29:58 +0000 (22:29 +0000)
because it exposes further problems.

lisp/env.el

index 346bd3b..33d4287 100644 (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)