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