Add: (blocked) predicate
This commit is contained in:
parent
e5e9daab07
commit
6afe3be572
2 changed files with 6 additions and 0 deletions
|
|
@ -2377,6 +2377,11 @@ any planning prefix); it defaults to 0 (i.e. the whole regexp)."
|
|||
(from (test-timestamps (ts<= from next-ts)))
|
||||
(to (test-timestamps (ts<= next-ts to)))))))
|
||||
|
||||
(org-ql-defpred blocked ()
|
||||
"Return non-nil if the entry is blocked."
|
||||
:body
|
||||
(org-entry-blocked-p))
|
||||
|
||||
;; NOTE: Predicates defined: stop deferring and define normalizer and
|
||||
;; preamble functions now. Reversing preserves the order in which
|
||||
;; they were defined. Generally it shouldn't matter, but it might...
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue