From 0408270ad26c918fb1327650fdf29918ac8da7fa Mon Sep 17 00:00:00 2001 From: Sebastien Vauban Date: Tue, 2 Oct 2012 22:20:36 +0200 Subject: [PATCH] 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. --- lisp/org-clock.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/org-clock.el b/lisp/org-clock.el index fc34bf919..e90c1d62d 100644 --- a/lisp/org-clock.el +++ b/lisp/org-clock.el @@ -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))