Mercurial > emacs
changeset 35479:cb1dfadd1a18
(Fset_char_table_default): Fix to make sub char-table correctly.
author | Kenichi Handa <handa@m17n.org> |
---|---|
date | Tue, 23 Jan 2001 01:34:55 +0000 |
parents | 340a9e4aeb29 |
children | 259d068416a3 |
files | src/fns.c |
diffstat | 1 files changed, 4 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/fns.c Mon Jan 22 23:20:06 2001 +0000 +++ b/src/fns.c Tue Jan 23 01:34:55 2001 +0000 @@ -2352,10 +2352,11 @@ XCHAR_TABLE (char_table)->contents[charset + 128] = value; return value; } - char_table = temp; - if (! SUB_CHAR_TABLE_P (char_table)) + if (SUB_CHAR_TABLE_P (temp)) + char_table = temp; + else char_table = (XCHAR_TABLE (char_table)->contents[charset + 128] - = make_sub_char_table (temp)); + = make_sub_char_table (temp)); temp = XCHAR_TABLE (char_table)->contents[code1]; if (SUB_CHAR_TABLE_P (temp)) XCHAR_TABLE (temp)->defalt = value;