[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Any way to make sit-for avoid triggering redisplay in the general ca
Re: Any way to make sit-for avoid triggering redisplay in the general case?
Thu, 8 Feb 2018 17:49:52 -0500
On Thu, Feb 8, 2018 at 5:40 PM, Dmitry Gutov <address@hidden> wrote:
> And not just "if input is available before it starts". Or is there a
> something I can call that would have a similar effect?
> Effect like "wait until either a specified about of time passes, or the user
> types something, while allowing subprocess sentinels and filters to run, and
> hopefully timers as well, all without triggering redisplay".
Does the NODISP arg not work?
(sit-for SECONDS &optional NODISP)
Redisplay, then wait for SECONDS seconds. Stop when input is available.
If optional arg NODISP is t, don't redisplay, just wait for input.