fix iterator status for projects

This commit is contained in:
ndwarshuis 2019-05-13 17:55:38 -04:00
parent 1a27ebe316
commit e4388e9836
1 changed files with 3 additions and 3 deletions

View File

@ -2225,9 +2225,9 @@ Iterators and periodicals are tested similarly to projects in that they have sta
(lambda (k)
(let ((ts (org-x-is-scheduled-heading-p)))
(cond
((not ts) 1)
((< org-clone-iter-future-time (- ts (float-time))) 2)
(t 0))))
((not ts) 0)
((> org-clone-iter-future-time (- ts (float-time))) 1)
(t 2))))
#'org-clone-get-iterator-project-status))
(t (error (concat "invalid keyword detected: " kw)))))