aboutsummaryrefslogtreecommitdiffstats
path: root/src/keyboard.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/keyboard.c')
-rw-r--r--src/keyboard.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/keyboard.c b/src/keyboard.c
index 0bacc2fa28f..0d2761f1aa3 100644
--- a/src/keyboard.c
+++ b/src/keyboard.c
@@ -2959,9 +2959,7 @@ read_char (int commandflag, int nmaps, Lisp_Object *maps, Lisp_Object prev_event
2959 save the echo area contents for it to refer to. */ 2959 save the echo area contents for it to refer to. */
2960 if (INTEGERP (c) 2960 if (INTEGERP (c)
2961 && ! NILP (Vinput_method_function) 2961 && ! NILP (Vinput_method_function)
2962 && (unsigned) XINT (c) >= ' ' 2962 && ' ' <= XINT (c) && XINT (c) < 256 && XINT (c) != 127)
2963 && (unsigned) XINT (c) != 127
2964 && (unsigned) XINT (c) < 256)
2965 { 2963 {
2966 previous_echo_area_message = Fcurrent_message (); 2964 previous_echo_area_message = Fcurrent_message ();
2967 Vinput_method_previous_message = previous_echo_area_message; 2965 Vinput_method_previous_message = previous_echo_area_message;
@@ -2986,9 +2984,7 @@ read_char (int commandflag, int nmaps, Lisp_Object *maps, Lisp_Object prev_event
2986 /* Don't run the input method within a key sequence, 2984 /* Don't run the input method within a key sequence,
2987 after the first event of the key sequence. */ 2985 after the first event of the key sequence. */
2988 && NILP (prev_event) 2986 && NILP (prev_event)
2989 && (unsigned) XINT (c) >= ' ' 2987 && ' ' <= XINT (c) && XINT (c) < 256 && XINT (c) != 127)
2990 && (unsigned) XINT (c) != 127
2991 && (unsigned) XINT (c) < 256)
2992 { 2988 {
2993 Lisp_Object keys; 2989 Lisp_Object keys;
2994 int key_count, key_count_reset; 2990 int key_count, key_count_reset;