emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: while-no-input and pending input


From: Eli Zaretskii
Subject: Re: while-no-input and pending input
Date: Wed, 26 Sep 2018 22:06:32 +0300

> From: Michael Heerdegen <address@hidden>
> Cc: address@hidden
> Date: Wed, 26 Sep 2018 19:57:42 +0200
> 
> > Why cannot you drain the event queue before calling while-no-input?
> 
> How can I do this?

Call read-event with a short (or zero?) timeout in a loop, until it
returns nil?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]