diff options
author | Bastien Guerry <bzg@altern.org> | 2011-02-22 15:57:50 +0100 |
---|---|---|
committer | Bastien Guerry <bzg@altern.org> | 2011-02-22 16:24:15 +0100 |
commit | 93a8fc98499f4cbd0c54b2ec67409321010f2be8 (patch) | |
tree | 6c996fc33b24eca55afd64d2952da3769c05437b | |
parent | 8ea9c35c7c3c9b1d819ca17493c445c96058ed1a (diff) | |
download | org-mode-93a8fc98499f4cbd0c54b2ec67409321010f2be8.tar.gz |
Fix bug in org-clock-report.
* org-clock.el (org-clocktable-write-default): Bugfix: falls
back on `org-export-default-language' when no :lang parameter
is set.
Also fix various typo in comments.
-rw-r--r-- | lisp/org-clock.el | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/lisp/org-clock.el b/lisp/org-clock.el index 66a3b4b..3c7028e 100644 --- a/lisp/org-clock.el +++ b/lisp/org-clock.el @@ -2021,13 +2021,15 @@ the currently selected interval size." TABLES is a list of tables with clocking data as produced by `org-clock-get-table-data'. PARAMS is the parameter property list obtained from the dynamic block defintion." - ;; This function looks quite complicated, mainly because there are a lot - ;; of options which can add or remove columns. I have massively commented - ;; function, to I hope it is understandable. If someone want to write - ;; there own special formatter, this maybe much easier because there can - ;; be a fixed format with a well-defined number of columns... + ;; This function looks quite complicated, mainly because there are a + ;; lot of options which can add or remove columns. I have massively + ;; commented this function, the I hope it is understandable. If + ;; someone wants to write their own special formatter, this maybe + ;; much easier because there can be a fixed format with a + ;; well-defined number of columns... (let* ((hlchars '((1 . "*") (2 . "/"))) - (lwords (assoc (plist-get params :lang) + (lwords (assoc (or (plist-get params :lang) + org-export-default-language) org-clock-clocktable-language-setup)) (multifile (plist-get params :multifile)) (block (plist-get params :block)) |