From: David Kastrup Date: Mon, 14 May 2007 22:29:58 +0000 (+0000) Subject: (getenv): Fix reverted by demand of Dan Nicolaescu X-Git-Tag: emacs-pretest-23.0.90~11236^2~139 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=01014cb1a15ff40eb92278bd992809a252956e81;p=emacs.git (getenv): Fix reverted by demand of Dan Nicolaescu because it exposes further problems. --- diff --git a/lisp/env.el b/lisp/env.el index 346bd3be75e..33d4287312f 100644 --- a/lisp/env.el +++ b/lisp/env.el @@ -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)