diff options
author | Maciek Starzyk <mstarzyk@gmail.com> | 2011-07-04 10:51:29 +0200 |
---|---|---|
committer | Bastien Guerry <bzg@altern.org> | 2011-07-04 10:51:29 +0200 |
commit | 429b1cc81a7f6c12bd10ce00f369b85c20d89fb3 (patch) | |
tree | f59a2067c49b04ebb16aec43cd133f471d4d2544 | |
parent | 71eff05694e8853cdfc4184189c17e1ab725e6e5 (diff) | |
download | org-mode-429b1cc81a7f6c12bd10ce00f369b85c20d89fb3.tar.gz |
org-table.el: Fix bug in formula duration computation.
-rw-r--r-- | lisp/org-table.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/org-table.el b/lisp/org-table.el index a7fc863..7f0f9bb 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*" |