diff options
| author | Richard M. Stallman | 1998-01-21 21:57:24 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1998-01-21 21:57:24 +0000 |
| commit | 2e9dc125273510c615a4139d3320d70c9ae798ef (patch) | |
| tree | 7769d0624a4d3961aeb33c04606e1d57c393e2d9 /src | |
| parent | 49bc32b0a5de2d4af7746fdf6670d724f9d943d1 (diff) | |
| download | emacs-2e9dc125273510c615a4139d3320d70c9ae798ef.tar.gz emacs-2e9dc125273510c615a4139d3320d70c9ae798ef.zip | |
(command_loop_1): Use unibyte_char_to_multibyte.
Diffstat (limited to 'src')
| -rw-r--r-- | src/keyboard.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/keyboard.c b/src/keyboard.c index 7e640ae074d..e297162cac2 100644 --- a/src/keyboard.c +++ b/src/keyboard.c | |||
| @@ -502,8 +502,6 @@ int timers_run; | |||
| 502 | 502 | ||
| 503 | extern Lisp_Object Vprint_level, Vprint_length; | 503 | extern Lisp_Object Vprint_level, Vprint_length; |
| 504 | 504 | ||
| 505 | extern nonascii_insert_offset; | ||
| 506 | |||
| 507 | /* Address (if not 0) of EMACS_TIME to zero out if a SIGIO interrupt | 505 | /* Address (if not 0) of EMACS_TIME to zero out if a SIGIO interrupt |
| 508 | happens. */ | 506 | happens. */ |
| 509 | EMACS_TIME *input_available_clear_time; | 507 | EMACS_TIME *input_available_clear_time; |
| @@ -1390,9 +1388,8 @@ command_loop_1 () | |||
| 1390 | /* Add the offset to the character, for Finsert_char. | 1388 | /* Add the offset to the character, for Finsert_char. |
| 1391 | We pass internal_self_insert the unmodified character | 1389 | We pass internal_self_insert the unmodified character |
| 1392 | because it itself does this offsetting. */ | 1390 | because it itself does this offsetting. */ |
| 1393 | if (lose >= 0200 && lose <= 0377 | 1391 | if (! NILP (current_buffer->enable_multibyte_characters)) |
| 1394 | && ! NILP (current_buffer->enable_multibyte_characters)) | 1392 | lose = unibyte_char_to_multibyte (lose); |
| 1395 | lose += nonascii_insert_offset; | ||
| 1396 | 1393 | ||
| 1397 | if (dp) | 1394 | if (dp) |
| 1398 | { | 1395 | { |