From f7b0e67935f7677fe2c238a17bf4f70ac962ab08 Mon Sep 17 00:00:00 2001 From: JG Date: Sun, 24 Sep 2023 16:17:45 -0700 Subject: [PATCH] org-list.el: Reduce scope to subtree * lisp/org-list.el (org-reset-checkbox-state-subtree): Fix scope of function call to update checkboxes to just subtree. TINYCHANGE --- lisp/org-list.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/org-list.el b/lisp/org-list.el index 7da10649d..023cfc0f8 100644 --- a/lisp/org-list.el +++ b/lisp/org-list.el @@ -2523,7 +2523,7 @@ subtree, ignoring planning line and any drawer following it." (when (org-at-item-checkbox-p) (replace-match "[ ]" t t nil 1)) (forward-line 1))) - (org-update-checkbox-count-maybe 'all))))) + (org-update-checkbox-count-maybe))))) (defun org-update-checkbox-count (&optional all) "Update the checkbox statistics in the current section. -- 2.40.1