From 30ad056271fff9c57e25aff6ac00eb2243efd6f9 Mon Sep 17 00:00:00 2001 From: David Kastrup Date: Sun, 13 May 2007 20:54:15 +0000 Subject: [PATCH] (getenv): Pass frame to getenv-internal. --- lisp/env.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/env.el b/lisp/env.el index 33d4287312f..346bd3be75e 100644 --- a/lisp/env.el +++ b/lisp/env.el @@ -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) -- 2.39.5