aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/term/x-win.el11
1 files changed, 8 insertions, 3 deletions
diff --git a/lisp/term/x-win.el b/lisp/term/x-win.el
index 788d012db3b..3e00a81be15 100644
--- a/lisp/term/x-win.el
+++ b/lisp/term/x-win.el
@@ -1480,11 +1480,16 @@ The value nil is the same as this list:
1480 (setq x-cut-buffer-max (min (- (/ (x-server-max-request-size) 2) 100) 1480 (setq x-cut-buffer-max (min (- (/ (x-server-max-request-size) 2) 100)
1481 x-cut-buffer-max)) 1481 x-cut-buffer-max))
1482 1482
1483 ;; Setup the default fontset. 1483 ;; Create the default fontset.
1484 (setup-default-fontset) 1484 (create-default-fontset)
1485 1485
1486 ;; Create the standard fontset. 1486 ;; Create the standard fontset.
1487 (create-fontset-from-fontset-spec standard-fontset-spec t) 1487 (condition-case err
1488 (create-fontset-from-fontset-spec standard-fontset-spec t)
1489 (error (display-warning
1490 'initialization
1491 (format "Creation of the standard fontset failed: %s" err)
1492 :error)))
1488 1493
1489 ;; Create fontset specified in X resources "Fontset-N" (N is 0, 1, ...). 1494 ;; Create fontset specified in X resources "Fontset-N" (N is 0, 1, ...).
1490 (create-fontset-from-x-resource) 1495 (create-fontset-from-x-resource)