[Top][All Lists]
[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.
- Re: jit-lock timer etc., (continued)
- Re: jit-lock timer etc., Kim F. Storm, 2006/08/24
- Re: jit-lock timer etc., martin rudalics, 2006/08/24
- Re: jit-lock timer etc., Chong Yidong, 2006/08/24
- Re: jit-lock timer etc., Chong Yidong, 2006/08/24
- Re: jit-lock timer etc., martin rudalics, 2006/08/24
- Re: jit-lock timer etc., Stefan Monnier, 2006/08/24
- Re: jit-lock timer etc., Stefan Monnier, 2006/08/24
- Re: jit-lock timer etc., martin rudalics, 2006/08/24
- Re: jit-lock timer etc., Chong Yidong, 2006/08/24
- Re: jit-lock timer etc., Chong Yidong, 2006/08/24
- Re: jit-lock timer etc.,
martin rudalics <=