aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKenichi Handa2000-05-26 07:26:53 +0000
committerKenichi Handa2000-05-26 07:26:53 +0000
commitdf2fbcebeb19bbe0e783595a7014a681bfe31a5d (patch)
tree787bf032b9cbadc931f1b108a4329c19baee6841 /src
parentafc125e1e91cc6fd8de848fe3fdfb860c06518d2 (diff)
downloademacs-df2fbcebeb19bbe0e783595a7014a681bfe31a5d.tar.gz
emacs-df2fbcebeb19bbe0e783595a7014a681bfe31a5d.zip
(map_char_table): Ignore char-table entries for
charsets eight-bit-control and eight-bit-graphic.
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))