mirror of
https://github.com/pestctrl/emacs-config.git
synced 2026-06-14 12:21:20 +00:00
Don't count invisible stuff as part of META stuck-ness
This commit is contained in:
parent
c985e9f815
commit
91d1d74c45
1 changed files with 2 additions and 2 deletions
|
|
@ -51,7 +51,7 @@
|
|||
;; All todo children are done? Stuck!
|
||||
(not (olc/any-todo-children?
|
||||
(not (member (cdr (opr/get-type-and-state))
|
||||
'(done wait))))))
|
||||
'(done wait invis))))))
|
||||
'stuck
|
||||
'active)))
|
||||
|
||||
|
|
@ -123,7 +123,7 @@
|
|||
(cond ((and (member "_invis_when_empty_" tags)
|
||||
(not (eq status 'active))
|
||||
(not (olc/any-todo-children?
|
||||
(member (org-get-todo-state) org-not-done-keywords))))
|
||||
(eq 'stuck (cdr (opr/get-type-and-state))))))
|
||||
'invis)
|
||||
((and (member "invis_when_active" (org-get-tags))
|
||||
(eq status 'active))
|
||||
|
|
|
|||
Loading…
Reference in a new issue