Use correct variable when calculating `org-timer-start-time'

* org-timer.el (org-timer-start): Use correct variable when
calculating `org-timer-start-time'.
This commit is contained in:
David Maus 2010-07-17 11:21:53 +00:00 committed by Carsten Dominik
parent cdf08f347a
commit eecb03c9c6
1 changed files with 1 additions and 1 deletions

View File

@ -102,7 +102,7 @@ the region 0:00:00."
(setq delta (org-timer-hms-to-secs (org-timer-fix-incomplete s)))))
(setq org-timer-start-time
(seconds-to-time
(- (org-float-time) (org-timer-hms-to-secs s)))))
(- (org-float-time) delta))))
(org-timer-set-mode-line 'on)
(message "Timer start time set to %s, current value is %s"
(format-time-string "%T" org-timer-start-time)