Commit 8d769115 authored by Kenichi Handa's avatar Kenichi Handa
Browse files

(read_char): Allow character codes 128..255 to be

handled by input-method-function.
parent 55a17202
......@@ -2528,7 +2528,8 @@ read_char (commandflag, nmaps, maps, prev_event, used_mouse_menu)
if (INTEGERP (c)
&& ! NILP (Vinput_method_function)
&& (unsigned) XINT (c) >= ' '
&& (unsigned) XINT (c) < 127)
&& (unsigned) XINT (c) != 127
&& (unsigned) XINT (c) < 256)
{
previous_echo_area_message = Fcurrent_message ();
Vinput_method_previous_message = previous_echo_area_message;
......@@ -2552,7 +2553,8 @@ read_char (commandflag, nmaps, maps, prev_event, used_mouse_menu)
after the first event of the key sequence. */
&& NILP (prev_event)
&& (unsigned) XINT (c) >= ' '
&& (unsigned) XINT (c) < 127)
&& (unsigned) XINT (c) != 127
&& (unsigned) XINT (c) < 256)
{
Lisp_Object keys;
int key_count;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment