summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Guerry <bzg@altern.org>2010-11-11 17:43:52 +0100
committerBastien Guerry <bzg@altern.org>2010-11-11 17:43:52 +0100
commit0fd5ec58c6e058b6a7c5463a0dea53e91c7330ad (patch)
tree9b06541ca2a2dad33773a9a0d0a375633053f562
parent82e5e5346d550eab11bae9624289b15ade06cb36 (diff)
downloadorg-mode-0fd5ec58c6e058b6a7c5463a0dea53e91c7330ad.tar.gz
org-clock.el: fix small typos and a small bug.
* org-clock.el (org-dblock-write:clocktable): fix double reference to `link' in let construct. (org-clock-clocktable-formatter): Fix typo in docstring. (org-clocktable-write-default): Fix typo in docstring.
-rw-r--r--lisp/org-clock.el7
1 files changed, 3 insertions, 4 deletions
diff --git a/lisp/org-clock.el b/lisp/org-clock.el
index 29b987b..377c510 100644
--- a/lisp/org-clock.el
+++ b/lisp/org-clock.el
@@ -252,7 +252,7 @@ string as argument."
:type 'plist)
(defcustom org-clock-clocktable-formatter 'org-clocktable-write-default
- "Function to turn clockng data into a table.
+ "Function to turn clocking data into a table.
For more information, see `org-clocktable-write-default'."
:group 'org-clocktable
:type 'function)
@@ -1806,7 +1806,7 @@ the currently selected interval size."
org-clock-clocktable-formatter
'org-clocktable-write-default))
cc range-text ipos pos one-file-with-archives
- scope-is-list tbls level link)
+ scope-is-list tbls level)
;; Check if we need to do steps
(when block
@@ -1879,7 +1879,7 @@ the currently selected interval size."
(funcall formatter ipos tbls params))))
(defun org-clocktable-write-default (ipos tables params)
- "Write out a clock table at position IPOS in the current buffer
+ "Write out a clock table at position IPOS in the current buffer.
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."
@@ -2232,7 +2232,6 @@ TIME: The sum of all time spend in this tree, in minutes. This time
(setq tbl (nreverse tbl))
(list file org-clock-file-total-minutes tbl))))
-
(defun org-clock-time% (total &rest strings)
"Compute a time fraction in percent.
TOTAL s a time string like 10:21 specifying the total times.