aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog5
-rw-r--r--src/fontset.c3
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 @@
12009-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
12009-08-17 Chong Yidong <cyd@stupidchicken.com> 62009-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. */)
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 {