mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-29 00:31:01 -08: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
1 changed files with 3 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue