# HG changeset patch # User Richard M. Stallman # Date 885419844 0 # Node ID 0122b019a5d6f53234bf716d458b22b117cac196 # Parent 59ffd6ac16ece9a4fbfcda019d1db06f445b56bf (command_loop_1): Use unibyte_char_to_multibyte. diff -r 59ffd6ac16ec -r 0122b019a5d6 src/keyboard.c --- 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) {