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 | |
| parent | 34481ea1f80687cf121dbc5cc11927b090c256a8 (diff) | |
| download | emacs-5fc05db07b5ec589104764616182ffd9a1b1d65a.tar.gz emacs-5fc05db07b5ec589104764616182ffd9a1b1d65a.zip | |
*** empty log message ***
| -rw-r--r-- | src/ChangeLog | 5 | ||||
| -rw-r--r-- | src/fontset.c | 3 |
2 files changed, 8 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index c969ba113cb..ec96d133a28 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2009-08-17 Kenichi Handa <handa@m17n.org> | ||
| 2 | |||
| 3 | * fontset.c (Ffontset_font): If a nil element is found in a | ||
| 4 | font-group vector, break the loop. | ||
| 5 | |||
| 1 | 2009-08-17 Chong Yidong <cyd@stupidchicken.com> | 6 | 2009-08-17 Chong Yidong <cyd@stupidchicken.com> |
| 2 | 7 | ||
| 3 | * process.c (status_notify): Don't perform redisplay. | 8 | * process.c (status_notify): Don't perform redisplay. |
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 | { |