diff options
author | David Maus <dmaus@ictsoc.de> | 2010-07-17 11:21:53 +0000 |
---|---|---|
committer | Carsten Dominik <carsten.dominik@gmail.com> | 2010-07-18 07:54:48 +0200 |
commit | eecb03c9c641864c4d17615aea597ed25d9307b0 (patch) | |
tree | 5dad9d63247afdc5052587e265f10d39f8bf601a | |
parent | cdf08f347a2125808c6989717d8e4b927326e97b (diff) | |
download | org-mode-eecb03c9c641864c4d17615aea597ed25d9307b0.tar.gz |
Use correct variable when calculating `org-timer-start-time'
* org-timer.el (org-timer-start): Use correct variable when
calculating `org-timer-start-time'.
-rw-r--r-- | lisp/org-timer.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/org-timer.el b/lisp/org-timer.el index e0817c8..3b3ef02 100644 --- a/lisp/org-timer.el +++ b/lisp/org-timer.el @@ -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) |