From 182f67def5a402052a086970479726664b56ed08 Mon Sep 17 00:00:00 2001 From: "Kim F. Storm" Date: Sun, 10 Sep 2006 21:10:50 +0000 Subject: [PATCH] (Finput_pending_p): Check Vunread_input_method_events and Vunread_post_input_method_events. --- src/keyboard.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/keyboard.c b/src/keyboard.c index 662aacf91a6..9d72256c5df 100644 --- a/src/keyboard.c +++ b/src/keyboard.c @@ -10088,7 +10088,9 @@ Actually, the value is nil only if we can be sure that no input is available; if there is a doubt, the value is t. */) () { - if (!NILP (Vunread_command_events) || unread_command_char != -1) + if (!NILP (Vunread_command_events) || unread_command_char != -1 + || !NILP (Vunread_post_input_method_events) + || !NILP (Vunread_input_method_events)) return (Qt); get_input_pending (&input_pending, -- 2.39.2