Fix predicate parsing in helm-org-ql
This commit is contained in:
parent
317df58d98
commit
f7e77989f7
1 changed files with 2 additions and 2 deletions
|
|
@ -1708,8 +1708,8 @@ Multiple predicates are combined with BOOLEAN."
|
||||||
(and predicate-without-args `(pred -- (list (intern pred))))
|
(and predicate-without-args `(pred -- (list (intern pred))))
|
||||||
(and plain-string `(s -- (list 'regexp s)))))
|
(and plain-string `(s -- (list 'regexp s)))))
|
||||||
(plain-string (or quoted-arg unquoted-arg))
|
(plain-string (or quoted-arg unquoted-arg))
|
||||||
(predicate-with-args (substring predicate) ":" args)
|
(predicate-with-args (and (substring predicate) ":" args))
|
||||||
(predicate-without-args (substring predicate) ":")
|
(predicate-without-args (and (substring predicate) ":"))
|
||||||
(predicate (or ,@predicates))
|
(predicate (or ,@predicates))
|
||||||
(args (list (+ (and (or keyword-arg quoted-arg unquoted-arg) (opt separator)))))
|
(args (list (+ (and (or keyword-arg quoted-arg unquoted-arg) (opt separator)))))
|
||||||
(keyword-arg (and keyword "=" `(kw -- (intern (concat ":" kw)))))
|
(keyword-arg (and keyword "=" `(kw -- (intern (concat ":" kw)))))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue