aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKenichi Handa2005-04-22 04:18:42 +0000
committerKenichi Handa2005-04-22 04:18:42 +0000
commit6fa63007d041fa899a94700bf09de6cd403d0d5e (patch)
treeef4bae2e0f8bcc4928f893ecab4d7da0c35ae9ec
parentd7301fcf5dc9e6d2e2cfe5f6ff789a533c894b4e (diff)
downloademacs-6fa63007d041fa899a94700bf09de6cd403d0d5e.tar.gz
emacs-6fa63007d041fa899a94700bf09de6cd403d0d5e.zip
(create-fontset-from-mac-roman-font): Fix previous change.
-rw-r--r--lisp/term/mac-win.el5
1 files changed, 2 insertions, 3 deletions
diff --git a/lisp/term/mac-win.el b/lisp/term/mac-win.el
index 1478fff955a..d5f1e273988 100644
--- a/lisp/term/mac-win.el
+++ b/lisp/term/mac-win.el
@@ -1362,9 +1362,8 @@ an appropriate name is generated automatically.
1362It returns a name of the created fontset." 1362It returns a name of the created fontset."
1363 (or resolved-font 1363 (or resolved-font
1364 (setq resolved-font (x-resolve-font-name font))) 1364 (setq resolved-font (x-resolve-font-name font)))
1365 (let* ((xlfd-fields (x-decompose-font-name resolved-font)) 1365 (let ((base-family (aref (x-decompose-font-name resolved-font)
1366 (base-family (aref (x-decompose-font-name ascii-font) 1366 xlfd-regexp-family-subnum)))
1367 xlfd-regexp-family-subnum)))
1368 (if (string= base-family "*") 1367 (if (string= base-family "*")
1369 (setq base-family nil)) 1368 (setq base-family nil))
1370 (new-fontset fontset-name (list (cons 'ascii resolved-font))) 1369 (new-fontset fontset-name (list (cons 'ascii resolved-font)))