diff options
author | Kenichi Handa <handa@m17n.org> | 1997-10-23 12:01:50 +0000 |
---|---|---|
committer | Kenichi Handa <handa@m17n.org> | 1997-10-23 12:01:50 +0000 |
commit | 7f843782be0720a94d2c4e16e05a74e08b06ebc8 (patch) | |
tree | 1bebf83dde54037c89dc8da6b0d9abdfa0902d7b | |
parent | 6de659505f35230c759cdb334c9ed7842c581ed2 (diff) | |
download | emacs-7f843782be0720a94d2c4e16e05a74e08b06ebc8.tar.gz |
(map_char_table): Do not operate on invalid characters.
Pay attention to `enable-multibyte-characters'.
-rw-r--r-- | src/fns.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/fns.c b/src/fns.c index d95cd072393..dc4f1a5ff3b 100644 --- a/src/fns.c +++ b/src/fns.c @@ -1482,11 +1482,13 @@ map_char_table (c_function, function, subtable, arg, depth, indices) else call2 (function, make_number (i), elt); } + if (NILP (current_buffer->enable_multibyte_characters)) + return; to = CHAR_TABLE_ORDINARY_SLOTS; } else { - i = 0; + i = 32; to = SUB_CHAR_TABLE_ORDINARY_SLOTS; } |