mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2025-01-29 20:35:02 +00:00
`org-timer-set-timer': fix bug about cancelling timer.
This commit is contained in:
parent
7096609182
commit
3685d6b496
@ -1,3 +1,8 @@
|
||||
2010-05-24 Bastien Guerry <bzg@altern.org>
|
||||
|
||||
* org-timer.el (org-timer-set-timer): Fix bug about cancelling
|
||||
timers.
|
||||
|
||||
2010-05-21 Carsten Dominik <carsten.dominik@gmail.com>
|
||||
|
||||
* org.el (org-emph-re): Document the match groups.
|
||||
|
@ -338,7 +338,8 @@ VALUE can be `on', `off', or `pause'."
|
||||
(y-or-n-p "Replace current timer? "))
|
||||
(not org-timer-current-timer))
|
||||
(progn
|
||||
(cancel-timer org-timer-current-timer)
|
||||
(when org-timer-current-timer
|
||||
(cancel-timer org-timer-current-timer))
|
||||
(setq org-timer-current-timer
|
||||
(run-with-timer
|
||||
secs nil `(lambda ()
|
||||
|
Loading…
Reference in New Issue
Block a user