From 59328aa0089bb376df86c89128a741a59d41c378 Mon Sep 17 00:00:00 2001 From: Don March Date: Sun, 26 Jun 2016 23:35:44 -0700 Subject: [PATCH] Reschedule "++" repeaters on same day if in future * lisp/org.el (org-auto-repeat-maybe): Include a time in a timestamp (hours and minutes) when checking if a repeat occurrence is in the future. --- lisp/org.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/org.el b/lisp/org.el index e13e82d..0b102fb 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -13287,8 +13287,8 @@ has been set" (let ((nshiftmax 10) (nshift 0)) (while (or (= nshift 0) - (<= (time-to-days time) - (time-to-days (current-time)))) + (or (time-less-p time (current-time)) + (equal time (current-time)))) (when (= (cl-incf nshift) nshiftmax) (or (y-or-n-p (format "%d repeater intervals were not \ -- 2.8.1