emacs-devel
[Top][All Lists]
Advanced

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

Re: jit-lock timer etc.


From: Richard Stallman
Subject: Re: jit-lock timer etc.
Date: Tue, 22 Aug 2006 11:41:37 -0400

I have now read your patch, and I think it is a good approach.
However, this

    !       (when (and jit-lock-stealth-buffers jit-lock-stealth-time)
    !   ;; Call us again.
    !   (setq jit-lock-stealth-repeat-timer
    !         (run-at-time delay nil 'jit-lock-stealth-fontify t))))))

creates an ordinary timer, not an idle timer.
It will run even if Emacs is not idle.

I think this ought to use run-with-idle-timer
and current-idle-time, as in my patch.




reply via email to

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