mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Respect org-hierarchical-todo-statistics
This commit is contained in:
@ -186,8 +186,7 @@ If on a:
|
|||||||
'done))))
|
'done))))
|
||||||
;; Update any metadata or inline previews in this subtree
|
;; Update any metadata or inline previews in this subtree
|
||||||
(org-update-checkbox-count)
|
(org-update-checkbox-count)
|
||||||
(let (org-hierarchical-todo-statistics)
|
(org-update-parent-todo-statistics)
|
||||||
(org-update-parent-todo-statistics))
|
|
||||||
(when (and (fboundp 'toc-org-insert-toc)
|
(when (and (fboundp 'toc-org-insert-toc)
|
||||||
(member "TOC" (org-get-tags)))
|
(member "TOC" (org-get-tags)))
|
||||||
(toc-org-insert-toc)
|
(toc-org-insert-toc)
|
||||||
@ -415,8 +414,7 @@ Made for `org-tab-first-hook' in evil-mode."
|
|||||||
(defun +org-update-cookies-h ()
|
(defun +org-update-cookies-h ()
|
||||||
"Update statistics cookies/todo statistics in headlines."
|
"Update statistics cookies/todo statistics in headlines."
|
||||||
(when (and buffer-file-name (file-exists-p buffer-file-name))
|
(when (and buffer-file-name (file-exists-p buffer-file-name))
|
||||||
(let (org-hierarchical-todo-statistics)
|
(org-update-parent-todo-statistics)))
|
||||||
(org-update-parent-todo-statistics))))
|
|
||||||
|
|
||||||
;;;###autoload
|
;;;###autoload
|
||||||
(defun +org-yas-expand-maybe-h ()
|
(defun +org-yas-expand-maybe-h ()
|
||||||
|
Reference in New Issue
Block a user