Put the clocktable summary line as a CAPTION
* org-clock.el (org-clocktable-write-default): Insert the summary as a standard #+CAPTION keyword for the (clock) table.
This commit is contained in:
parent
2e94271bd1
commit
0408270ad2
|
@ -2349,13 +2349,14 @@ from the dynamic block definition."
|
||||||
(or header
|
(or header
|
||||||
;; Format the standard header
|
;; Format the standard header
|
||||||
(concat
|
(concat
|
||||||
|
"#+CAPTION: "
|
||||||
(nth 9 lwords) " ["
|
(nth 9 lwords) " ["
|
||||||
(substring
|
(substring
|
||||||
(format-time-string (cdr org-time-stamp-formats))
|
(format-time-string (cdr org-time-stamp-formats))
|
||||||
1 -1)
|
1 -1)
|
||||||
"]"
|
"]"
|
||||||
(if block (concat ", for " range-text ".") "")
|
(if block (concat ", for " range-text ".") "")
|
||||||
"\n\n")))
|
"\n")))
|
||||||
|
|
||||||
;; Insert the narrowing line
|
;; Insert the narrowing line
|
||||||
(when (and narrow (integerp narrow) (not narrow-cut-p))
|
(when (and narrow (integerp narrow) (not narrow-cut-p))
|
||||||
|
|
Loading…
Reference in New Issue