Subject: Re: bug#20404: 25.0.50; Sometimes no fontification with jit-lock-defer-time

From: Stefan Monnier <[email-masked]>
Date: Thu, 23 Apr 2015 09:40:06 -0400

> And here's why:
[...]
>             (when suggest-key-bindings
>               (sit-for (cond

Oh, right.  Another one of those "sit-for considered harmful".

I think we need a new (run-after-if-still-idle TIME FUNCTION) which sets
up a timer to run FUNCTION after TIME seconds, but where that timer is
canceled as soon as "something happens" (I guess we could start by
canceling that timer from pre-command-hook and hope it's sufficient).

        Stefan