From 473a8c581ae7311f202d7dfa56e9b6492619364d Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Fri, 21 Sep 2007 07:21:41 +0000 Subject: [PATCH] (setenv): Don't set display-environment-variable. --- lisp/env.el | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/lisp/env.el b/lisp/env.el index 3071bd00cde..128228be3db 100644 --- a/lisp/env.el +++ b/lisp/env.el @@ -192,12 +192,8 @@ a side-effect." (setq process-environment (setenv-internal process-environment variable value t)) (setq frame (frame-with-environment frame)) - (cond - ((string-equal "DISPLAY" variable) - (set-frame-parameter frame 'display-environment-variable value)) - (t - (setq process-environment (setenv-internal process-environment - variable value nil))))) + (setq process-environment (setenv-internal process-environment + variable value nil))) value) (defun getenv (variable &optional frame) -- 2.39.5