Hi,
I've tested and this patch solves the bug I reported yesterday under the
heading "[Orgmode] Bug: org-timer-start with offset [6.36trans]".
Thanks!
Yours,
Christian
David Maus wrote:
* org-timer.el (org-timer-start): Use correct variable when
calculating `org-timer-start-time'.
---
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)
--
Christian Moe
E-mail: m...@christianmoe.com
Website: http://christianmoe.com
_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode