aboutsummaryrefslogtreecommitdiffstats
path: root/src/fontset.c
diff options
context:
space:
mode:
authorKenichi Handa2009-08-18 00:22:28 +0000
committerKenichi Handa2009-08-18 00:22:28 +0000
commit5fc05db07b5ec589104764616182ffd9a1b1d65a (patch)
tree8374370b4155cebe3d60a5e3c99603cac9c3f737 /src/fontset.c
parent34481ea1f80687cf121dbc5cc11927b090c256a8 (diff)
downloademacs-5fc05db07b5ec589104764616182ffd9a1b1d65a.tar.gz
emacs-5fc05db07b5ec589104764616182ffd9a1b1d65a.zip
*** empty log message ***
Diffstat (limited to 'src/fontset.c')
-rw-r--r--src/fontset.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/fontset.c b/src/fontset.c
index b030887673c..2bac86c19c3 100644
--- a/src/fontset.c
+++ b/src/fontset.c
@@ -2083,6 +2083,7 @@ format is the same as above. */)
2083DEFUN ("fontset-font", Ffontset_font, Sfontset_font, 2, 3, 0, 2083DEFUN ("fontset-font", Ffontset_font, Sfontset_font, 2, 3, 0,
2084 doc: /* Return a font name pattern for character CH in fontset NAME. 2084 doc: /* Return a font name pattern for character CH in fontset NAME.
2085If NAME is t, find a pattern in the default fontset. 2085If NAME is t, find a pattern in the default fontset.
2086If NAME is nil, find a pattern in the fontset of the selected frame.
2086 2087
2087The value has the form (FAMILY . REGISTRY), where FAMILY is a font 2088The value has the form (FAMILY . REGISTRY), where FAMILY is a font
2088family name and REGISTRY is a font registry name. This is actually 2089family name and REGISTRY is a font registry name. This is actually
@@ -2115,6 +2116,8 @@ patterns. */)
2115 Lisp_Object family, registry; 2116 Lisp_Object family, registry;
2116 2117
2117 val = AREF (elt, j); 2118 val = AREF (elt, j);
2119 if (NILP (val))
2120 break;
2118 repertory = AREF (val, 1); 2121 repertory = AREF (val, 1);
2119 if (INTEGERP (repertory)) 2122 if (INTEGERP (repertory))
2120 { 2123 {