|
@@ -8706,12 +8706,12 @@ This function is run automatically after each state change to a DONE state."
|
|
|
(- (time-to-days (current-time)) (time-to-days time))
|
|
|
'day))
|
|
|
((equal (match-string 1 ts) "+")
|
|
|
- (while (< (time-to-days time) (time-to-days (current-time)))
|
|
|
+ (while (or (= nshift 0)
|
|
|
+ (<= (time-to-days time) (time-to-days (current-time))))
|
|
|
(when (= (incf nshift) nshiftmax)
|
|
|
(or (y-or-n-p (message "%d repeater intervals were not enough to shift date past today. Continue? " nshift))
|
|
|
(error "Abort")))
|
|
|
(org-timestamp-change n (cdr (assoc what whata)))
|
|
|
- (sit-for .0001) ;; so we can watch the date shifting
|
|
|
(org-at-timestamp-p t)
|
|
|
(setq ts (match-string 1))
|
|
|
(setq time (save-match-data (org-time-string-to-time ts))))
|