FIX too many deadlined tasks

This commit is contained in:
Nathan Dwarshuis 2022-06-05 13:32:17 -04:00
parent 0b2b8d7c5a
commit df094e5344
1 changed files with 4 additions and 4 deletions

View File

@ -3431,8 +3431,8 @@ FUTURE-LIMIT in a list."
#'org-x-dag-get-scheduled-at
#'identity))
(deadlined-datetimes
(id)
(expand-datetimes id nil t :deadline
(id donep)
(expand-datetimes id donep t :deadline
#'org-x-dag-get-deadlines-at
(lambda (datetime)
(if (org-x-dag-date= datetime sel-date) datetime
@ -3445,12 +3445,12 @@ FUTURE-LIMIT in a list."
(add-dead
(acc id)
(-let (((acc-d acc-s) acc)
(ds (deadlined-datetimes id)))
(ds (deadlined-datetimes id nil)))
`((,@ds ,@acc-d) ,acc-s)))
(add-dead-sched
(acc id donep)
(-let (((acc-d acc-s) acc)
(ds (deadlined-datetimes id))
(ds (deadlined-datetimes id donep))
(ss (scheduled-datetimes id donep)))
`((,@ds ,@acc-d) (,@ss ,@acc-s))))
(format-id