When computing clock table, remove arbitrary limit on hierarchy depth.
* org-clock.el (org-clock-sum): Enlarge array of per-level clock totals as needed on demand.
This commit is contained in:
parent
d75fa9febc
commit
9059c8fae0
|
@ -1782,6 +1782,8 @@ PROPNAME lets you set a custom text property instead of :org-clock-minutes."
|
|||
(save-excursion
|
||||
(save-match-data (funcall headline-filter))))))
|
||||
(setq level (- (match-end 1) (match-beginning 1)))
|
||||
(when (>= level lmax)
|
||||
(setq ltimes (vconcat ltimes (make-vector lmax 0)) lmax (* 2 lmax)))
|
||||
(when (or (> t1 0) (> (aref ltimes level) 0))
|
||||
(when (or headline-included headline-forced)
|
||||
(if headline-included
|
||||
|
|
Loading…
Reference in New Issue