From xemacs-m  Tue Feb 25 10:15:00 1997
Received: from maes.esrin.esa.it (maes.esrin.esa.it [192.106.252.50])
	by xemacs.org (8.8.5/8.8.5) with SMTP id KAA05491
	for <xemacs-beta@xemacs.org>; Tue, 25 Feb 1997 10:13:35 -0600 (CST)
Received: from mail.esrin.esa.it (plod.esrin.esa.it) by maes.esrin.esa.it with SMTP id AA16783
  (5.65c/IDA-1.4.4 for <xemacs-beta@xemacs.org>); Tue, 25 Feb 1997 17:12:30 +0100
Received: from penelope.esa.it by mail.esrin.esa.it (4.1/SMI-4.1)
	id AA18237; Tue, 25 Feb 97 16:12:31 GMT
Date: Tue, 25 Feb 97 16:12:31 GMT
Message-Id: <9702251612.AA18237@mail.esrin.esa.it>
Received: by penelope.esa.it (4.1/SMI-4.1)
	id AA14390; Tue, 25 Feb 97 17:17:13 +0100
From: Simon Marshall <Simon.Marshall@esrin.esa.it>
To: XEmacs Beta <xemacs-beta@xemacs.org>
Subject: [19.15b95]: input-pending-p is nil even after keypress
Reply-To: Simon Marshall <Simon.Marshall@esrin.esa.it>

It seems that input-pending-p returns nil even after a simple keypress:

xemacs -no-init-file -no-site-file

(progn
  (loop for fubar from 1 to 10000 by 1)
  (input-pending-p)) C-j C-p
 => nil

Which is wrong.  If I replace the loop with (sit-for 5) or add (sit-for 5)
before or after the loop, then the value is t.

