]> git.eshelyaron.com Git - emacs.git/commitdiff
(Finput_pending_p): Check Vunread_input_method_events
authorKim F. Storm <storm@cua.dk>
Sun, 10 Sep 2006 21:10:50 +0000 (21:10 +0000)
committerKim F. Storm <storm@cua.dk>
Sun, 10 Sep 2006 21:10:50 +0000 (21:10 +0000)
and Vunread_post_input_method_events.

src/keyboard.c

index 662aacf91a630a36bc924e1aaa35d8554d0ee2fc..9d72256c5df279b066e2d79c1dfcb9db63c7ed14 100644 (file)
@@ -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,