changeset 61736:e3221787f899

*** empty log message ***
author Kenichi Handa <handa@m17n.org>
date Fri, 22 Apr 2005 07:11:21 +0000
parents 76a2f6423902
children 7d51d685e0ad
files src/ChangeLog src/fontset.c
diffstat 2 files changed, 13 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Fri Apr 22 07:11:08 2005 +0000
+++ b/src/ChangeLog	Fri Apr 22 07:11:21 2005 +0000
@@ -1,3 +1,11 @@
+2005-04-22  Kenichi Handa  <handa@m17n.org>
+
+	* fns.c (copy_sub_char_table): Explicitly copy the default value
+	of the sub-chartable.
+
+	* fontset.c (fontset_set): When a sub-chartable is created,
+	explicitly sets the defalt value.
+
 2005-04-22  Kim F. Storm  <storm@cua.dk>
 
 	* fns.c (Fplist_get): Replace by Fsafe_plist_get.
--- a/src/fontset.c	Fri Apr 22 07:11:08 2005 +0000
+++ b/src/fontset.c	Fri Apr 22 07:11:21 2005 +0000
@@ -353,7 +353,11 @@
   for (i = 0; code[i] > 0; i++)
     {
       if (!SUB_CHAR_TABLE_P (*elt))
-	*elt = make_sub_char_table (*elt);
+	{
+	  Lisp_Object val = *elt;
+	  *elt = make_sub_char_table (val);
+	  XCHAR_TABLE (*elt)->defalt = val;
+	}
       elt = &XCHAR_TABLE (*elt)->contents[code[i]];
     }
   if (SUB_CHAR_TABLE_P (*elt))