mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-09-29 21:07:54 +00:00
org-clock: Fix percent formula column in clock table
* lisp/org-clock.el (org-clocktable-write-default): Fix percent formula column in clock table.
This commit is contained in:
parent
b72920344f
commit
d2835ab54d
|
@ -2622,6 +2622,7 @@ from the dynamic block definition."
|
|||
;; Empty fields for higher levels.
|
||||
(make-string (max 0 (1- (min time-columns level))) ?|)
|
||||
hlc (org-minutes-to-clocksum-string time) hlc "|" ; time
|
||||
(make-string (max 0 (- time-columns level)) ?|)
|
||||
(if (eq formula '%)
|
||||
(format "%.1f |" (* 100 (/ time (float total-time))))
|
||||
"")
|
||||
|
|
Loading…
Reference in a new issue