summaryrefslogtreecommitdiff
path: root/src/fns.c
diff options
context:
space:
mode:
authorKenichi Handa <handa@m17n.org>2000-05-26 07:26:53 +0000
committerKenichi Handa <handa@m17n.org>2000-05-26 07:26:53 +0000
commitdf2fbcebeb19bbe0e783595a7014a681bfe31a5d (patch)
tree787bf032b9cbadc931f1b108a4329c19baee6841 /src/fns.c
parentafc125e1e91cc6fd8de848fe3fdfb860c06518d2 (diff)
downloademacs-df2fbcebeb19bbe0e783595a7014a681bfe31a5d.tar.gz
(map_char_table): Ignore char-table entries for
charsets eight-bit-control and eight-bit-graphic.
Diffstat (limited to 'src/fns.c')
-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)
elt = XCHAR_TABLE (subtable)->contents[i];
XSETFASTINT (indices[depth], i);
charset = XFASTINT (indices[0]) - 128;
- if (!CHARSET_DEFINED_P (charset))
+ if (depth == 0
+ && (!CHARSET_DEFINED_P (charset)
+ || charset == CHARSET_8_BIT_CONTROL
+ || charset == CHARSET_8_BIT_GRAPHIC))
continue;
if (SUB_CHAR_TABLE_P (elt))