mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-20 18:17:20 +00:00
(map_char_table): Do not operate on invalid characters.
Pay attention to `enable-multibyte-characters'.
This commit is contained in:
parent
82aba9f42f
commit
de86fcba73
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user