diff options
| author | David Kastrup | 2007-05-14 22:29:58 +0000 |
|---|---|---|
| committer | David Kastrup | 2007-05-14 22:29:58 +0000 |
| commit | 01014cb1a15ff40eb92278bd992809a252956e81 (patch) | |
| tree | 06557aa3117c2c13e011840d748c0f43111e7473 | |
| parent | 30ad056271fff9c57e25aff6ac00eb2243efd6f9 (diff) | |
| download | emacs-01014cb1a15ff40eb92278bd992809a252956e81.tar.gz emacs-01014cb1a15ff40eb92278bd992809a252956e81.zip | |
(getenv): Fix reverted by demand of Dan Nicolaescu
because it exposes further problems.
| -rw-r--r-- | lisp/env.el | 3 |
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." | |||
| 212 | (let ((value (getenv-internal (if (multibyte-string-p variable) | 212 | (let ((value (getenv-internal (if (multibyte-string-p variable) |
| 213 | (encode-coding-string | 213 | (encode-coding-string |
| 214 | variable locale-coding-system) | 214 | variable locale-coding-system) |
| 215 | variable) | 215 | variable)))) |
| 216 | frame))) | ||
| 217 | (if (and enable-multibyte-characters value) | 216 | (if (and enable-multibyte-characters value) |
| 218 | (setq value (decode-coding-string value locale-coding-system))) | 217 | (setq value (decode-coding-string value locale-coding-system))) |
| 219 | (when (interactive-p) | 218 | (when (interactive-p) |