[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Killing timers and buffer local variables
From: |
Johan Bockgård |
Subject: |
Re: Killing timers and buffer local variables |
Date: |
Mon, 28 Apr 2008 17:08:15 +0200 |
User-agent: |
Gnus/5.110009 (No Gnus v0.9) Emacs/23.0.60 (gnu/linux) |
Stefan Monnier <address@hidden> writes:
>> If a timer is referenced with a buffer local variable and the corresponing
>> buffer goes away it is quite cumbersome to kill the timer if it is
>> a periodic timer.
>
>> How about adding a self referencing functions for timers to make this
>> easier, something like (this-timer)?
>
> That's a good idea. Patch welcome,
(defun timer-this-timer () timer-event-last)
--
Johan Bockgård