diff --git a/local/lib/org-x/org-x-dag.el b/local/lib/org-x/org-x-dag.el index 55d2dd5..7cc033a 100644 --- a/local/lib/org-x/org-x-dag.el +++ b/local/lib/org-x/org-x-dag.el @@ -2722,7 +2722,7 @@ FUTURE-LIMIT in a list." (`nil `(,datetime)) (`(,value ,unit ,reptype) (->> (org-x-dag-repeater-get-next cur datetime value unit reptype) - (--unfold (unless (org-x-dag-datetime< future-limit it) + (--unfold (when (org-x-dag-datetime< it future-limit) (cons it (org-x-dag-datetime-shift it value unit)))) (cons datetime))))))