Fix: (org-ql-agenda--add-scheduled-face) todo-keyword error
Mentioned in #5. Thanks again to @natrys.
This commit is contained in:
parent
8716c9a087
commit
d3cb2bfeed
1 changed files with 2 additions and 2 deletions
|
|
@ -239,7 +239,8 @@ Its property list should be the second item in the list, as returned by `org-ele
|
|||
"Add faces to ELEMENT's title for its scheduled status."
|
||||
;; NOTE: Also adding prefix
|
||||
(if-let ((scheduled-date (org-element-property :scheduled element)))
|
||||
(let* ((show-all (or (eq org-agenda-repeating-timestamp-show-all t)
|
||||
(let* ((todo-keyword (org-element-property :todo-keyword element))
|
||||
(show-all (or (eq org-agenda-repeating-timestamp-show-all t)
|
||||
(member todo-keyword org-agenda-repeating-timestamp-show-all)))
|
||||
(raw-value (org-element-property :raw-value scheduled-date))
|
||||
(sexp-p (string-prefix-p "%%" raw-value))
|
||||
|
|
@ -273,7 +274,6 @@ Its property list should be the second item in the list, as returned by `org-ele
|
|||
;; that.
|
||||
(current-buffer)
|
||||
(org-element-property :begin element)))))
|
||||
(todo-keyword (org-element-property :todo-keyword element))
|
||||
(face (cond ((member todo-keyword org-done-keywords) 'org-agenda-done)
|
||||
((= today-day-number scheduled-day-number) 'org-scheduled-today)
|
||||
((> today-day-number scheduled-day-number) 'org-scheduled-previously)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue