summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Goaziou <n.goaziou@gmail.com>2010-07-28 11:19:08 +0200
committerNicolas Goaziou <n.goaziou@gmail.com>2010-09-01 19:05:51 +0200
commitc444086ade2f909a9721533de1a4eff009014f17 (patch)
treed7b241bbecd3cd449f3cfdd0aac3dd3a305d54b6
parent4a4c4f2cf1a67e81b7673ec9bce26669fb24f6f0 (diff)
downloadorg-mode-c444086ade2f909a9721533de1a4eff009014f17.tar.gz
Documentation fixes.
-rw-r--r--lisp/org-list.el15
1 files changed, 7 insertions, 8 deletions
diff --git a/lisp/org-list.el b/lisp/org-list.el
index 827698d..843ddba 100644
--- a/lisp/org-list.el
+++ b/lisp/org-list.el
@@ -1324,10 +1324,10 @@ Otherwise it will be `org-todo'."
(defun org-apply-on-list (function init-value &rest args)
"Call FUNCTION for each item of a the list under point.
-FUNCTION must be called with at least one argument : a return
-value that will contain the value returned by the function at
-the previous item, plus ARGS extra arguments. INIT-VALUE will be
-the value passed to the function at the first item of the list.
+FUNCTION must be called with at least one argument: a return
+value that will contain the value returned by the function at the
+previous item, plus ARGS extra arguments. INIT-VALUE will be the
+value passed to the function at the first item of the list.
As an example, (org-apply-on-list (lambda (result) (1+ result)) 0)
will return the number of items in the current list.
@@ -1357,14 +1357,13 @@ a time stamp, by a property or by priority.
The command prompts for the sorting type unless it has been given
to the function through the SORTING-TYPE argument, which needs to
-be a character, \(?n ?N ?a ?A ?t ?T ?f ?F). Here is the precise
+be a character, \(?n ?N ?a ?A ?t ?T ?f ?F). Here is the precise
meaning of each character:
n Numerically, by converting the beginning of the item to a number.
-a Alphabetically.
+a Alphabetically. Only the first line of item is checked.
t By date/time, either the first active time stamp in the entry, if
- any, or by the first inactive one. In a timer list, sorts the timers.
- Only the first line of item is checked.
+ any, or by the first inactive one. In a timer list, sort the timers.
Capital letters will reverse the sort order.