This commit is contained in:
Kevin Foley 2023-11-11 02:09:26 -07:00 committed by GitHub
commit 70fa807c70
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -884,7 +884,12 @@ return an empty string."
(display-warning 'org-ql (format "No marker found for item: %s" title))
(org-element-property :tags element))
(org-element-property :tags element)))
(tag-string (when tag-list
(tag-string (when-let
((tag-list (if (not org-agenda-hide-tags-regexp)
tag-list
(cl-remove-if
(lambda (tag) (string-match-p org-agenda-hide-tags-regexp tag))
tag-list))))
(--> tag-list
(s-join ":" it)
(s-wrap it ":")