changeset 29099:a72f4aba9f93

(read_char): Allow character codes 128..255 to be handled by input-method-function.
author Kenichi Handa <handa@m17n.org>
date Tue, 23 May 2000 02:19:20 +0000
parents c8a95c4dfd18
children a941c97dc65b
files src/keyboard.c
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/keyboard.c	Tue May 23 01:34:05 2000 +0000
+++ b/src/keyboard.c	Tue May 23 02:19:20 2000 +0000
@@ -2528,7 +2528,8 @@
   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 @@
 	 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;