Do not issue the 'task should be finished by now' message if the clock is stopped
commite0f9c00f10fe82ef51cd8fb83b61c2d59ecdcd7a
authorBernt Hansen <bernt@norang.ca>
Tue, 9 Jun 2009 20:27:56 +0000 (9 16:27 -0400)
committerCarsten Dominik <carsten.dominik@gmail.com>
Tue, 9 Jun 2009 21:02:01 +0000 (9 23:02 +0200)
tree681098aec13466c360843e9a602c10699c7fef64
parent7f9e53d6b179278e969f30bd9599faeebad62293
Do not issue the 'task should be finished by now' message if the clock is stopped

This patch prevents the org-clock-sound notification and the

   "Task'BLAH' should be finished by now."

message when the termination time is reached and the clock is not
running.

Before this patch spurious notifications and messages were generated when
clocking in a task with estimated effort time remaining.  After clocking
out the task the remaining minutes would tick by and then the sound
and message that the task should be finished were generated - even though
you are not working on it anymore.
lisp/org-clock.el