Variable: org-provide-todo-statistics
org-provide-todo-statistics is a customizable variable defined in
org.el.gz.
Value
t
Documentation
Non-nil means update todo statistics after insert and toggle.
ALL-HEADLINES means update todo statistics by including headlines with no TODO keyword as well, counting them as not done. A list of TODO keywords means the same, but skip keywords that are not in this list. When set to a list of two lists, the first list contains keywords to consider as TODO keywords, the second list contains keywords to consider as DONE keywords.
When this is set, todo statistics is updated in the parent of the current entry each time a todo state is changed.
Source Code
;; Defined in /usr/src/emacs/lisp/org/org.el.gz
(defcustom org-provide-todo-statistics t
"Non-nil means update todo statistics after insert and toggle.
ALL-HEADLINES means update todo statistics by including headlines
with no TODO keyword as well, counting them as not done.
A list of TODO keywords means the same, but skip keywords that are
not in this list.
When set to a list of two lists, the first list contains keywords
to consider as TODO keywords, the second list contains keywords
to consider as DONE keywords.
When this is set, todo statistics is updated in the parent of the
current entry each time a todo state is changed."
:group 'org-todo
:type '(choice
(const :tag "Yes, only for TODO entries" t)
(const :tag "Yes, including all entries" all-headlines)
(repeat :tag "Yes, for TODOs in this list"
(string :tag "TODO keyword"))
(list :tag "Yes, for TODOs and DONEs in these lists"
(repeat (string :tag "TODO keyword"))
(repeat (string :tag "DONE keyword")))
(other :tag "No TODO statistics" nil)))