diff options
| author | Kenichi Handa | 2001-01-23 01:34:55 +0000 |
|---|---|---|
| committer | Kenichi Handa | 2001-01-23 01:34:55 +0000 |
| commit | 1e70fc65bc313da756c8dda63603d94d6d48d088 (patch) | |
| tree | 076c1f02ca377ff870c8f74b38ef476b7205b2c5 /src/fns.c | |
| parent | d8e4f486d992ef1ca02fdbb9840b63f8ddc81697 (diff) | |
| download | emacs-1e70fc65bc313da756c8dda63603d94d6d48d088.tar.gz emacs-1e70fc65bc313da756c8dda63603d94d6d48d088.zip | |
(Fset_char_table_default): Fix to make sub char-table correctly.
Diffstat (limited to 'src/fns.c')
| -rw-r--r-- | src/fns.c | 7 |
1 files changed, 4 insertions, 3 deletions
| @@ -2352,10 +2352,11 @@ See also the documentation of make-char.") | |||
| 2352 | XCHAR_TABLE (char_table)->contents[charset + 128] = value; | 2352 | XCHAR_TABLE (char_table)->contents[charset + 128] = value; |
| 2353 | return value; | 2353 | return value; |
| 2354 | } | 2354 | } |
| 2355 | char_table = temp; | 2355 | if (SUB_CHAR_TABLE_P (temp)) |
| 2356 | if (! SUB_CHAR_TABLE_P (char_table)) | 2356 | char_table = temp; |
| 2357 | else | ||
| 2357 | char_table = (XCHAR_TABLE (char_table)->contents[charset + 128] | 2358 | char_table = (XCHAR_TABLE (char_table)->contents[charset + 128] |
| 2358 | = make_sub_char_table (temp)); | 2359 | = make_sub_char_table (temp)); |
| 2359 | temp = XCHAR_TABLE (char_table)->contents[code1]; | 2360 | temp = XCHAR_TABLE (char_table)->contents[code1]; |
| 2360 | if (SUB_CHAR_TABLE_P (temp)) | 2361 | if (SUB_CHAR_TABLE_P (temp)) |
| 2361 | XCHAR_TABLE (temp)->defalt = value; | 2362 | XCHAR_TABLE (temp)->defalt = value; |