aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/term
diff options
context:
space:
mode:
authorRichard M. Stallman <[email protected]>1994-10-23 07:59:01 +0000
committerRichard M. Stallman <[email protected]>1994-10-23 07:59:01 +0000
commitf91f7c79c05abceb295cfe8a4b2fa4edbb76f25d (patch)
tree68544df8ee4249e59b01975c17dddb9e1c7c7840 /lisp/term
parente177ac3a87e612f6b12c0f244e12b51c0144160e (diff)
Say error in x-open-connection should be fatal.
Diffstat (limited to 'lisp/term')
-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 39c09c8c03..07db0c5aa6 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)