From: Stefan Monnier Date: Fri, 21 Sep 2007 07:21:41 +0000 (+0000) Subject: (setenv): Don't set display-environment-variable. X-Git-Tag: emacs-pretest-23.0.90~10760 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=473a8c581ae7311f202d7dfa56e9b6492619364d;p=emacs.git (setenv): Don't set display-environment-variable. --- 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)