org-clock: Fix clock percent
commitccf832e8317dbac7d3ac2b7dfbb515b1292a329c
authorNicolas Goaziou <mail@nicolasgoaziou.fr>
Tue, 7 Feb 2017 15:48:14 +0000 (7 16:48 +0100)
committerNicolas Goaziou <mail@nicolasgoaziou.fr>
Tue, 7 Feb 2017 15:52:30 +0000 (7 16:52 +0100)
tree346c64feaabdff9df799410e12dc503c58c490b3
parent3dc4fa9d9d05e0c52bc289675925c101f801bd44
org-clock: Fix clock percent

* lisp/org-clock.el (org-clocktable-write-default): Fix percent computation.
(org-clock-time%): Remove function.

* testing/lisp/test-org-clock.el (test-org-clock/clocktable): Update
  test.

As a consequence of this patch, a ":formula %" doesn't generate
a TBLFM line anymore.
lisp/org-clock.el
testing/lisp/test-org-clock.el