summaryrefslogtreecommitdiff
path: root/lisp/env.el
diff options
context:
space:
mode:
authorDavid Kastrup <dak@gnu.org>2007-05-14 22:29:58 +0000
committerDavid Kastrup <dak@gnu.org>2007-05-14 22:29:58 +0000
commit01014cb1a15ff40eb92278bd992809a252956e81 (patch)
tree06557aa3117c2c13e011840d748c0f43111e7473 /lisp/env.el
parent30ad056271fff9c57e25aff6ac00eb2243efd6f9 (diff)
downloademacs-01014cb1a15ff40eb92278bd992809a252956e81.tar.gz
(getenv): Fix reverted by demand of Dan Nicolaescu
because it exposes further problems.
Diffstat (limited to 'lisp/env.el')
-rw-r--r--lisp/env.el3
1 files changed, 1 insertions, 2 deletions
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)