summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Zattler <telegraph@gmx.net>2012-01-22 18:15:16 +0000
committerBastien Guerry <bzg@altern.org>2012-01-24 17:10:21 +0100
commit58b74e078b4b1a5358d1e4f70e0838c42d293fa1 (patch)
treef31a326bc3504df7031437e38c054f5c4836565d
parentc74fe88c01836f4e8b510f57d68a7f720f685f82 (diff)
downloadorg-mode-58b74e078b4b1a5358d1e4f70e0838c42d293fa1.tar.gz
Document max number of stars in headings in docstring of org-inlinetask-minlevel
Clocking only works with headings indented with less than `30' stars (hardcoded `lmax' value in `org-clock-sum'). Since especially inline tasks may dupe someone into using more stars, document the limit in the docsring of `org-inlinetask-min-level'.
-rw-r--r--lisp/org-inlinetask.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/lisp/org-inlinetask.el b/lisp/org-inlinetask.el
index a14e404..b8e8437 100644
--- a/lisp/org-inlinetask.el
+++ b/lisp/org-inlinetask.el
@@ -90,6 +90,9 @@
(defcustom org-inlinetask-min-level 15
"Minimum level a headline must have before it is treated as an inline task.
+Don't set it to something higher than `29' or clocking will break since this
+is the hardcoded maximum number of stars `org-clock-sum' will work with.
+
It is strongly recommended that you set `org-cycle-max-level' not at all,
or to a number smaller than this one. In fact, when `org-cycle-max-level' is
not set, it will be assumed to be one less than the value of smaller than