diff options
| author | Kenichi Handa | 2009-08-18 00:22:28 +0000 |
|---|---|---|
| committer | Kenichi Handa | 2009-08-18 00:22:28 +0000 |
| commit | 5fc05db07b5ec589104764616182ffd9a1b1d65a (patch) | |
| tree | 8374370b4155cebe3d60a5e3c99603cac9c3f737 /src/fontset.c | |
| parent | 34481ea1f80687cf121dbc5cc11927b090c256a8 (diff) | |
| download | emacs-5fc05db07b5ec589104764616182ffd9a1b1d65a.tar.gz emacs-5fc05db07b5ec589104764616182ffd9a1b1d65a.zip | |
*** empty log message ***
Diffstat (limited to 'src/fontset.c')
| -rw-r--r-- | src/fontset.c | 3 |
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. */) | |||
| 2083 | DEFUN ("fontset-font", Ffontset_font, Sfontset_font, 2, 3, 0, | 2083 | DEFUN ("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. |
| 2085 | If NAME is t, find a pattern in the default fontset. | 2085 | If NAME is t, find a pattern in the default fontset. |
| 2086 | If NAME is nil, find a pattern in the fontset of the selected frame. | ||
| 2086 | 2087 | ||
| 2087 | The value has the form (FAMILY . REGISTRY), where FAMILY is a font | 2088 | The value has the form (FAMILY . REGISTRY), where FAMILY is a font |
| 2088 | family name and REGISTRY is a font registry name. This is actually | 2089 | family 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 | { |