Mercurial > emacs
changeset 20702:0122b019a5d6
(command_loop_1): Use unibyte_char_to_multibyte.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Wed, 21 Jan 1998 21:57:24 +0000 |
parents | 59ffd6ac16ec |
children | f465da76f36b |
files | src/keyboard.c |
diffstat | 1 files changed, 2 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/src/keyboard.c Wed Jan 21 21:56:46 1998 +0000 +++ b/src/keyboard.c Wed Jan 21 21:57:24 1998 +0000 @@ -502,8 +502,6 @@ extern Lisp_Object Vprint_level, Vprint_length; -extern nonascii_insert_offset; - /* Address (if not 0) of EMACS_TIME to zero out if a SIGIO interrupt happens. */ EMACS_TIME *input_available_clear_time; @@ -1390,9 +1388,8 @@ /* Add the offset to the character, for Finsert_char. We pass internal_self_insert the unmodified character because it itself does this offsetting. */ - if (lose >= 0200 && lose <= 0377 - && ! NILP (current_buffer->enable_multibyte_characters)) - lose += nonascii_insert_offset; + if (! NILP (current_buffer->enable_multibyte_characters)) + lose = unibyte_char_to_multibyte (lose); if (dp) {