Change: Use org-done-keywords instead of org-done-keywords-for-agenda

This should fix a bug, and it seems like the more correct thing to do.
This commit is contained in:
Adam Porter 2018-06-08 18:04:01 -05:00
parent 977e9aa0a2
commit 73925c8f1c

View file

@ -128,7 +128,7 @@ With KEYWORDS, return non-nil if its keyword is one of KEYWORDS."
(otherwise (user-error "Invalid todo keywords: %s" keywords)))))
(defsubst org-ql--done-p ()
(apply #'org-ql--todo-p org-done-keywords-for-agenda))
(or (apply #'org-ql--todo-p org-done-keywords)))
(defun org-ql--tags-p (&rest tags)
"Return non-nil if current heading has one or more of TAGS."