diff options
author | Stefan Monnier <monnier@iro.umontreal.ca> | 2007-09-21 07:21:41 +0000 |
---|---|---|
committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2007-09-21 07:21:41 +0000 |
commit | 473a8c581ae7311f202d7dfa56e9b6492619364d (patch) | |
tree | 990ddcc8a02f0a982ec6223d7e007d211f3af2dc /lisp/env.el | |
parent | 6168122d6821417d0cababda6f28e05f78354fe5 (diff) | |
download | emacs-473a8c581ae7311f202d7dfa56e9b6492619364d.tar.gz |
(setenv): Don't set display-environment-variable.
Diffstat (limited to 'lisp/env.el')
-rw-r--r-- | lisp/env.el | 8 |
1 files 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) |