diff options
author | Bastien Guerry <bzg@altern.org> | 2012-04-20 13:06:46 +0200 |
---|---|---|
committer | Bastien Guerry <bzg@altern.org> | 2012-04-20 13:06:46 +0200 |
commit | d89823a75b3a8a98ee5cee11b9f8f77143673f9f (patch) | |
tree | d83b72feb4da2389b6b6dfbe853bb2b439246d92 | |
parent | 1685087f5f07f204d020dcc2faa67b1178420b4b (diff) | |
download | org-mode-d89823a75b3a8a98ee5cee11b9f8f77143673f9f.tar.gz |
org-clock.el: New option `org-clock-file-time-cell-format'.
* org-clock.el (org-clock-file-time-cell-format): New option.
(org-clocktable-write-default): Use it.
-rw-r--r-- | lisp/org-clock.el | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/lisp/org-clock.el b/lisp/org-clock.el index 29f8a93..a172d77 100644 --- a/lisp/org-clock.el +++ b/lisp/org-clock.el @@ -330,6 +330,12 @@ play with them." :version "24.1" :type 'boolean) +(defcustom org-clock-file-time-cell-format "*%s*" + "Format string for the file time cells." + :group 'org-clock + :version "24.1" + :type 'boolean) + (defcustom org-clock-clocked-in-display 'mode-line "When clocked in for a task, org-mode can display the current task and accumulated time in the mode line and/or frame title. @@ -2294,7 +2300,9 @@ from the dynamic block definition." (when multifile ;; Summarize the time collected from this file (insert-before-markers - (format (concat "| %s %s | %s%s*" (nth 8 lwords) "* | *%s*|\n") + (format (concat "| %s %s | %s%s" + (format org-clock-file-time-cell-format (nth 8 lwords)) + " | *%s*|\n") (file-name-nondirectory (car tbl)) (if level-p "| " "") ; level column, maybe (if timestamp "| " "") ; timestamp column, maybe |