changeset 8286:60e866c3e99c

(sit_for): Return immediately if unread events exist.
author Richard M. Stallman <rms@gnu.org>
date Tue, 19 Jul 1994 19:35:08 +0000
parents 6609af160f16
children 97c2535b7f37
files src/dispnew.c
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/dispnew.c	Tue Jul 19 19:34:17 1994 +0000
+++ b/src/dispnew.c	Tue Jul 19 19:35:08 1994 +0000
@@ -2253,6 +2253,10 @@
 {
   Lisp_Object read_kbd;
 
+  if (CONSP (Vunread_command_events)
+      || unread_command_char != -1)
+    return Qnil;
+
   if (detect_input_pending ())
     return Qnil;