diff options
| author | Kenichi Handa | 2000-05-23 02:19:20 +0000 |
|---|---|---|
| committer | Kenichi Handa | 2000-05-23 02:19:20 +0000 |
| commit | 8d76911517ef7cefc7939845e920145ef89282f7 (patch) | |
| tree | a235eca63e4086198b2b9cfb9720acf7357d9eca /src | |
| parent | 55a172024b80f290ab1910c0006ca8ea78932625 (diff) | |
| download | emacs-8d76911517ef7cefc7939845e920145ef89282f7.tar.gz emacs-8d76911517ef7cefc7939845e920145ef89282f7.zip | |
(read_char): Allow character codes 128..255 to be
handled by input-method-function.
Diffstat (limited to 'src')
| -rw-r--r-- | src/keyboard.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/keyboard.c b/src/keyboard.c index 990d38313f9..d08fb8bebee 100644 --- a/src/keyboard.c +++ b/src/keyboard.c | |||
| @@ -2528,7 +2528,8 @@ read_char (commandflag, nmaps, maps, prev_event, used_mouse_menu) | |||
| 2528 | if (INTEGERP (c) | 2528 | if (INTEGERP (c) |
| 2529 | && ! NILP (Vinput_method_function) | 2529 | && ! NILP (Vinput_method_function) |
| 2530 | && (unsigned) XINT (c) >= ' ' | 2530 | && (unsigned) XINT (c) >= ' ' |
| 2531 | && (unsigned) XINT (c) < 127) | 2531 | && (unsigned) XINT (c) != 127 |
| 2532 | && (unsigned) XINT (c) < 256) | ||
| 2532 | { | 2533 | { |
| 2533 | previous_echo_area_message = Fcurrent_message (); | 2534 | previous_echo_area_message = Fcurrent_message (); |
| 2534 | Vinput_method_previous_message = previous_echo_area_message; | 2535 | Vinput_method_previous_message = previous_echo_area_message; |
| @@ -2552,7 +2553,8 @@ read_char (commandflag, nmaps, maps, prev_event, used_mouse_menu) | |||
| 2552 | after the first event of the key sequence. */ | 2553 | after the first event of the key sequence. */ |
| 2553 | && NILP (prev_event) | 2554 | && NILP (prev_event) |
| 2554 | && (unsigned) XINT (c) >= ' ' | 2555 | && (unsigned) XINT (c) >= ' ' |
| 2555 | && (unsigned) XINT (c) < 127) | 2556 | && (unsigned) XINT (c) != 127 |
| 2557 | && (unsigned) XINT (c) < 256) | ||
| 2556 | { | 2558 | { |
| 2557 | Lisp_Object keys; | 2559 | Lisp_Object keys; |
| 2558 | int key_count; | 2560 | int key_count; |