Timer: Run a hook when relative timer is continued
commit3ceee2fefefbeb4f210eb3aa0bab62ca879c09f1
authorCarsten Dominik <carsten.dominik@gmail.com>
Mon, 20 Dec 2010 12:18:27 +0000 (20 13:18 +0100)
committerCarsten Dominik <carsten.dominik@gmail.com>
Mon, 20 Dec 2010 12:18:27 +0000 (20 13:18 +0100)
tree6d9301e5700d125aea646f2f584af91e5168d7b0
parenta43055a26fd0bc69bebf6350dc48a777aabbc06d
Timer: Run a hook when relative timer is continued

* lisp/org-timer.el (org-timer-continue-hook): Define the variable
(org-timer-pause-or-continue): Run hook after relative timer is
continued

There was a hook run when the relative timer is paused (and for most
other actions), but none for continuing afterwards.

One use for this would be to pause/continue playback in a media-player
app with the same keystroke used to pause/continue the timer.

TINYCHANGE

Patch by Christian Moe
lisp/org-timer.el