summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2018-02-03 14:41:34 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2018-02-03 14:41:34 +0100
commit98422471c994fab2e6186998a8bb5cc9283686a8 (patch)
treeaf19289a6993a2b856f3ee85926f863618f0aa89
parente570e964a30bb8e719460ef27d919f8d3ab53104 (diff)
downloadorg-mode-98422471c994fab2e6186998a8bb5cc9283686a8.tar.gz
org-agenda: Fix docstring
* lisp/org-agenda.el (org-agenda-prefix-format): Fix count of items in alist. Reported-by: Nicolas Dudebout <nicolas.dudebout@gmail.com>
-rw-r--r--lisp/org-agenda.el7
1 files changed, 4 insertions, 3 deletions
diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el
index 98f6034..b80504f 100644
--- a/lisp/org-agenda.el
+++ b/lisp/org-agenda.el
@@ -1644,9 +1644,10 @@ When nil, such items are sorted as 0 minutes effort."
(tags . " %i %-12:c")
(search . " %i %-12:c"))
"Format specifications for the prefix of items in the agenda views.
-An alist with five entries, each for the different agenda types. The
-keys of the sublists are `agenda', `todo', `search' and `tags'.
-The values are format strings.
+
+An alist with one entry per agenda type. The keys of the
+sublists are `agenda', `todo', `search' and `tags'. The values
+are format strings.
This format works similar to a printf format, with the following meaning: