diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/fns.c | 5 |
1 files changed, 4 insertions, 1 deletions
| @@ -2372,7 +2372,10 @@ map_char_table (c_function, function, subtable, arg, depth, indices) | |||
| 2372 | elt = XCHAR_TABLE (subtable)->contents[i]; | 2372 | elt = XCHAR_TABLE (subtable)->contents[i]; |
| 2373 | XSETFASTINT (indices[depth], i); | 2373 | XSETFASTINT (indices[depth], i); |
| 2374 | charset = XFASTINT (indices[0]) - 128; | 2374 | charset = XFASTINT (indices[0]) - 128; |
| 2375 | if (!CHARSET_DEFINED_P (charset)) | 2375 | if (depth == 0 |
| 2376 | && (!CHARSET_DEFINED_P (charset) | ||
| 2377 | || charset == CHARSET_8_BIT_CONTROL | ||
| 2378 | || charset == CHARSET_8_BIT_GRAPHIC)) | ||
| 2376 | continue; | 2379 | continue; |
| 2377 | 2380 | ||
| 2378 | if (SUB_CHAR_TABLE_P (elt)) | 2381 | if (SUB_CHAR_TABLE_P (elt)) |