Respect org-hierarchical-todo-statistics
This commit is contained in:
parent
cbebbd5278
commit
14d9786360
1 changed files with 2 additions and 4 deletions
|
@ -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 ()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue