From aae03b1d43ab068e9bdbf66b9660021a09e6edde Mon Sep 17 00:00:00 2001 From: Ihor Radchenko Date: Mon, 9 Nov 2020 18:11:25 +0800 Subject: [PATCH] Revert "Fix predicate parsing in helm-org-ql" This reverts commit f7e77989f7b538222bb177379cae61058dc3abc6. --- org-ql.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/org-ql.el b/org-ql.el index 3bcca5c..4196ab4 100644 --- a/org-ql.el +++ b/org-ql.el @@ -1723,8 +1723,8 @@ Multiple predicates are combined with BOOLEAN." (and predicate-without-args `(pred -- (list (intern pred)))) (and plain-string `(s -- (list 'regexp s))))) (plain-string (or quoted-arg unquoted-arg)) - (predicate-with-args (and (substring predicate) ":" args)) - (predicate-without-args (and (substring predicate) ":")) + (predicate-with-args (substring predicate) ":" args) + (predicate-without-args (substring predicate) ":") (predicate (or ,@predicates)) (args (list (+ (and (or keyword-arg quoted-arg unquoted-arg) (opt separator))))) (keyword-arg (and keyword "=" `(kw -- (intern (concat ":" kw)))))