Change: (olp, olps) Optimize multiple args with heading query

This commit is contained in:
Adam Porter 2020-12-03 12:27:32 -06:00
parent 73209cf48e
commit 2d07cb0822
3 changed files with 49 additions and 29 deletions

View file

@ -521,6 +521,7 @@ Simple links may also be written manually in either sexp or non-sexp form, like:
*Changed*
+ Helm support (including the command =helm-org-ql=) has been moved to a separate package, =helm-org-ql=.
+ Predicates ~outline-path~ and ~outline-path-segment~, when called with multiple arguments, optimize to a query like ~(and (heading LAST-OLP-ARG) (olp OTHER-OLP-ARGS))~, which is much faster.
*Internal*
+ Predicates are now defined more cleanly with a macro (=org-ql-defpred=) that consolidates functionality related to each predicate. This will also allow users to more easily define custom predicates.