Commit 473a8c58 authored by Stefan Monnier's avatar Stefan Monnier
Browse files

(setenv): Don't set display-environment-variable.

parent 6168122d
......@@ -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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment