Skip to content

Commit 8ea5c28

Browse files
Adapt orgqda--make-tags-matcher to newer org-versions
In newer versions of org, the function created by org-make-tags-matcher is compiled, and therefore "extracting" the meat of it as from a list doesn’t work.
1 parent 6b50621 commit 8ea5c28

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

orgqda.el

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1566,9 +1566,10 @@ tags). Checking if MATCH is a tag can be forced with FORCE-SIMPLE."
15661566
((string-match-p (rx (seq string-start (1+ (seq (regexp org-tag-re) (* "+"))) string-end))
15671567
match)
15681568
(push `(cl-subsetp ',(split-string match "\\+") tags-list :test #'equal) conds))
1569-
(t (push (nth 2 (cdr (org-make-tags-matcher match))) conds)))
1569+
(t (push `(funcall ,(cdr (org-make-tags-matcher match)) todo tags-list level)
1570+
conds)))
1571+
;; TODO, should we compile this as done in org-make-tags-matcher?
15701572
(cons match `(lambda (todo tags-list level)
1571-
(setq org-cached-props nil)
15721573
(and ,@(nreverse conds))))))
15731574

15741575
;;;;;; link type for taglist

0 commit comments

Comments
 (0)