emacs-devel
[Top][All Lists]
Advanced

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

Re: Hourglass - how is it started and ended?


From: Eli Zaretskii
Subject: Re: Hourglass - how is it started and ended?
Date: Sun, 27 Feb 2005 07:05:44 +0200

> From: "Lennart Borgman" <address@hidden>
> Date: Sun, 27 Feb 2005 01:25:20 +0100
> 
> 1) There is a function start_hourglass. This starts a timer that turns on
> the hourglass. The function start_hourglass begins with cancel_hourglass
> which cancels the timer if it is already active and removes the hourglass if
> it is shown. Why is it useful to begin with this? I would expect
> start_hourglass to just do nothing if the hourglass was already shown (and
> perhaps also if the timer was active). Can anyone please explain this?

If you don't cancel the timer, it will expire at the wrong moment
(counted since the time it was set by whatever previous activation).




reply via email to

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