emacs-devel
[Top][All Lists]
Advanced

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

Re: jit-lock timer etc.


From: martin rudalics
Subject: Re: jit-lock timer etc.
Date: Fri, 25 Aug 2006 08:00:30 +0200
User-agent: Mozilla Thunderbird 1.0 (Windows/20041206)

>>           (timer-set-function jit-lock-stealth-repeat-timer
>>                               'jit-lock-stealth-fontify t))
>
>
> Now I know why your code didn't work.  The very last line is wrong!
> It should be
>
>   (timer-set-function jit-lock-stealth-repeat-timer
>                       'jit-lock-stealth-fontify '(t)))
>
> I believe that with this change, everything will work.

Indeed.  I must have tacitly anticipated that `timer-set-function' has a
&rest.  Using `run-with-idle-timer' in `jit-lock-stealth-fontify' as you
did is, however, cleaner anyway.  Thanks for sorting this out.






reply via email to

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