aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/fns.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/fns.c b/src/fns.c
index 639ee5d95ed..8c1ffb45469 100644
--- a/src/fns.c
+++ b/src/fns.c
@@ -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))