From 18c6787244604064ed7c0bbd795c013401225e54 Mon Sep 17 00:00:00 2001 From: Adam Porter Date: Wed, 22 Jan 2020 22:56:04 -0600 Subject: [PATCH] Tidy: (org-ql--pre-process-query) Calling of --query-predicate --- org-ql.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/org-ql.el b/org-ql.el index 279d747..70e7ea5 100644 --- a/org-ql.el +++ b/org-ql.el @@ -549,9 +549,9 @@ Replaces bare strings with (regexp) selectors, and appropriate (`(descendants ,query) `(descendants ',query)) (`(descendants) '(descendants (lambda () t))) (`(parent ,query) `(parent ,(org-ql--query-predicate (rec query)))) - (`(parent) `(parent ,(org-ql--query-predicate (rec '(lambda () t))))) + (`(parent) '(parent (lambda () t))) (`(ancestors ,query) `(ancestors ,(org-ql--query-predicate (rec query)))) - (`(ancestors) `(ancestors ,(org-ql--query-predicate (rec '(lambda () t))))) + (`(ancestors) '(ancestors (lambda () t))) ;; Timestamp-based predicates. I think this is the way that makes the most sense: ;; set the limit to N days in the future, adjusted to 23:59:59 (since Org doesn't ;; support timestamps down to the second, anyway, there should be no need to adjust