summaryrefslogtreecommitdiff
path: root/lisp/term/x-win.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/term/x-win.el')
-rw-r--r--lisp/term/x-win.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/term/x-win.el b/lisp/term/x-win.el
index 39c09c8c038..07db0c5aa65 100644
--- a/lisp/term/x-win.el
+++ b/lisp/term/x-win.el
@@ -626,7 +626,9 @@ This is in addition to the primary selection.")
(x-open-connection (or x-display-name
(setq x-display-name (getenv "DISPLAY")))
- x-command-line-resources)
+ x-command-line-resources
+ ;; Exit Emacs with fatal error if this fails.
+ t)
(setq frame-creation-function 'x-create-frame-with-faces)