aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/term/x-win.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/term/x-win.el b/lisp/term/x-win.el
index 3a5cd81d28d..46a05a51280 100644
--- a/lisp/term/x-win.el
+++ b/lisp/term/x-win.el
@@ -674,11 +674,11 @@ This is in addition to the primary selection.")
674 (let ((font (or (cdr (assq 'font initial-frame-alist)) 674 (let ((font (or (cdr (assq 'font initial-frame-alist))
675 (cdr (assq 'font default-frame-alist)) 675 (cdr (assq 'font default-frame-alist))
676 (x-get-resource "font" "Font"))) 676 (x-get-resource "font" "Font")))
677 resolved-name xlfd-fields) 677 xlfd-fields)
678 (if (and font 678 (if (and font
679 (not (query-fontset font)) 679 (not (query-fontset font))
680 (setq resolved-name (x-resolve-font-name font)) 680 (x-resolve-font-name font)
681 (setq xlfd-fields (x-decompose-font-name resolved-name))) 681 (setq xlfd-fields (x-decompose-font-name font)))
682 (if (string= "fontset" 682 (if (string= "fontset"
683 (aref xlfd-fields xlfd-regexp-registry-subnum)) 683 (aref xlfd-fields xlfd-regexp-registry-subnum))
684 (new-fontset font (x-complement-fontset-spec xlfd-fields nil)) 684 (new-fontset font (x-complement-fontset-spec xlfd-fields nil))