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:
Sebastien Vauban 2012-10-02 22:20:36 +02:00 committed by Nicolas Goaziou
parent 2e94271bd1
commit 0408270ad2

View file

@ -2349,13 +2349,14 @@ from the dynamic block definition."
(or header
;; Format the standard header
(concat
"#+CAPTION: "
(nth 9 lwords) " ["
(substring
(format-time-string (cdr org-time-stamp-formats))
1 -1)
"]"
(if block (concat ", for " range-text ".") "")
"\n\n")))
"\n")))
;; Insert the narrowing line
(when (and narrow (integerp narrow) (not narrow-cut-p))