From 9f0ca73f368206bf5394aec524bbe1299ac916d4 Mon Sep 17 00:00:00 2001 From: ndwarshuis Date: Wed, 18 May 2022 23:30:38 -0400 Subject: [PATCH] FIX repeated deadlines in agenda --- local/lib/org-x/org-x-dag.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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))))))