# HG changeset patch # User Kenichi Handa # Date 877608110 0 # Node ID 988eef7dba1bf5f88c47588f32af065e1aa9496f # Parent 481af10544cc34137c149a39d9c60a92638453ec (map_char_table): Do not operate on invalid characters. Pay attention to `enable-multibyte-characters'. diff -r 481af10544cc -r 988eef7dba1b src/fns.c --- a/src/fns.c Thu Oct 23 07:50:28 1997 +0000 +++ b/src/fns.c Thu Oct 23 12:01:50 1997 +0000 @@ -1482,11 +1482,13 @@ 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; }