Here's the patch. >> (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. >> >> I believe "ALL-HEADLINES" should instead be "`all-headlines'".
-- Paul
>From 933440526695056436aa2954feaf48dea0e5bad1 Mon Sep 17 00:00:00 2001 From: Paul Bryan <[email protected]> Date: Sun, 16 Aug 2026 11:57:12 +1000 Subject: [PATCH] lisp/org.el: Fix docstring for org-provide-todo-statistics * lisp/org.el (org-provide-todo-statistics): Correctly format all-headlines as symbol in docstring. TINYCHANGE Reported-by: "Aaron Zeng"" <[email protected]> Link: https://list.orgmode.org/[email protected]/ --- lisp/org.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/org.el b/lisp/org.el index 2071a9dc0..73aac03d0 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -2061,7 +2061,7 @@ are followed by a letter in parenthesis, like TODO(t)." (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 +`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. -- 2.55.0
