changeset 84751:bf9d24dbf5a9

(setenv): Don't set display-environment-variable.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Fri, 21 Sep 2007 07:21:41 +0000
parents 61716998289c
children b81c5052c6af
files lisp/env.el
diffstat 1 files changed, 2 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/env.el	Fri Sep 21 07:21:02 2007 +0000
+++ b/lisp/env.el	Fri Sep 21 07:21:41 2007 +0000
@@ -192,12 +192,8 @@
       (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)