cleaned up proj task skip function

This commit is contained in:
petrucci4prez 2018-06-26 23:02:21 -04:00
parent 103611d026
commit 5b0557d8fc
2 changed files with 2 additions and 13 deletions

View File

@ -861,12 +861,7 @@ tags that do not have tags in neg-tags-list"
(if (member keyword nd/project-skip-todostates) (if (member keyword nd/project-skip-todostates)
(nd/skip-subtree) (nd/skip-subtree)
(nd/skip-heading)) (nd/skip-heading))
(if (not (and (nd/heading-has-parent 'nd/is-todoitem-p) (if (not (nd/heading-has-parent 'nd/is-todoitem-p))
(not (nd/is-timestamped-heading-p))
(not (nd/is-scheduled-heading-p))
(not (nd/is-deadlined-heading-p))
;; (equal keyword skip-keyword)
))
(nd/skip-heading))) (nd/skip-heading)))
(nd/skip-heading))))) (nd/skip-heading)))))

View File

@ -1146,15 +1146,9 @@ which is dealt with similarly)
(if (member keyword nd/project-skip-todostates) (if (member keyword nd/project-skip-todostates)
(nd/skip-subtree) (nd/skip-subtree)
(nd/skip-heading)) (nd/skip-heading))
(if (not (and (nd/heading-has-parent 'nd/is-todoitem-p) (if (not (nd/heading-has-parent 'nd/is-todoitem-p))
(not (nd/is-timestamped-heading-p))
(not (nd/is-scheduled-heading-p))
(not (nd/is-deadlined-heading-p))
;; (equal keyword skip-keyword)
))
(nd/skip-heading))) (nd/skip-heading)))
(nd/skip-heading))))) (nd/skip-heading)))))
#+END_SRC #+END_SRC
**** header-level errors **** header-level errors
Some headers are invalid under certain conditions Some headers are invalid under certain conditions