Fix shadowed pcase clause

This commit is contained in:
Ihor Radchenko 2021-04-06 22:44:27 +08:00
parent 387594ed36
commit 204e2d239e
No known key found for this signature in database
GPG key ID: 6470762A7DA11D8B

View file

@ -1839,10 +1839,10 @@ Tests both inherited and local tags."
(org-ql-defpred (tags-inherited inherited-tags tags-i itags) (&rest tags)
"Return non-nil if current heading's inherited tags include one or more of TAGS (a list of strings).
If TAGS is nil, return non-nil if heading has any inherited tags."
:normalizers ((`(,predicate-names . ,tags)
`(tags-inherited ,@tags))
(`(,predicate-names)
`(tags-inherited)))
:normalizers ((`(,predicate-names)
`(tags-inherited))
(`(,predicate-names . ,tags)
`(tags-inherited ,@tags)))
:body (cl-macrolet ((tags-p (tags)
`(and ,tags
(not (eq 'org-ql-nil ,tags)))))