From b5c19643d2347e4e1f4d76634b458380a46e39c4 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Fri, 17 Mar 2017 08:35:47 +0100 Subject: [PATCH] org-agenda: Fix off-by-one scheduled repeat * lisp/org-agenda.el (org-agenda-get-scheduled): Make the second repeat appear as "Sched. 1x". Reported-by: Eric S Fraga --- lisp/org-agenda.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el index d49e84872..4a2cf7b9e 100644 --- a/lisp/org-agenda.el +++ b/lisp/org-agenda.el @@ -6372,7 +6372,7 @@ scheduled items with an hour specification like [h]h:mm." ((= schedule current) first) ;; Subsequent reminders. Count from base ;; schedule. - (t (format next (1+ diff))))) + (t (format next diff)))) head level category tags time nil habitp)) (face (cond ((and (not habitp) pastschedp) 'org-scheduled-previously)