Mercurial > emacs
changeset 20148:988eef7dba1b
(map_char_table): Do not operate on invalid characters.
Pay attention to `enable-multibyte-characters'.
author | Kenichi Handa <handa@m17n.org> |
---|---|
date | Thu, 23 Oct 1997 12:01:50 +0000 |
parents | 481af10544cc |
children | b804a783ceec |
files | src/fns.c |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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; }