From 429b1cc81a7f6c12bd10ce00f369b85c20d89fb3 Mon Sep 17 00:00:00 2001 From: Maciek Starzyk Date: Mon, 4 Jul 2011 10:51:29 +0200 Subject: [PATCH] org-table.el: Fix bug in formula duration computation. --- lisp/org-table.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/org-table.el b/lisp/org-table.el index a7fc863ec..7f0f9bbca 100644 --- a/lisp/org-table.el +++ b/lisp/org-table.el @@ -2513,13 +2513,13 @@ not overwrite the stored one." (error "#ERROR")) ev (if (numberp ev) (number-to-string ev) ev) ev (if duration (org-table-time-seconds-to-string - (string-to-number ev)))) + (string-to-number ev) ev))) (or (fboundp 'calc-eval) (error "Calc does not seem to be installed, and is needed to evaluate the formula")) (setq ev (calc-eval (cons form modes) (if numbers 'num)) ev (if duration (org-table-time-seconds-to-string - (string-to-number ev))))) + (string-to-number ev) ev)))) (when org-table-formula-debug (with-output-to-temp-buffer "*Substitution History*"