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:
parent
977e9aa0a2
commit
73925c8f1c
1 changed files with 1 additions and 1 deletions
|
|
@ -128,7 +128,7 @@ With KEYWORDS, return non-nil if its keyword is one of KEYWORDS."
|
||||||
(otherwise (user-error "Invalid todo keywords: %s" keywords)))))
|
(otherwise (user-error "Invalid todo keywords: %s" keywords)))))
|
||||||
|
|
||||||
(defsubst org-ql--done-p ()
|
(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)
|
(defun org-ql--tags-p (&rest tags)
|
||||||
"Return non-nil if current heading has one or more of TAGS."
|
"Return non-nil if current heading has one or more of TAGS."
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue