summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2017-03-17 08:39:43 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2017-03-17 08:39:43 +0100
commit00f95cb126af6239cf0f18a4db21bd47614f6894 (patch)
tree1ba6eb70ae25ee7b16e63a14539cffd5c25166be
parent0e07b929648e4d511677743f761384afba2c94c6 (diff)
downloadorg-mode-00f95cb126af6239cf0f18a4db21bd47614f6894.tar.gz
org-agenda: Fix scheduled repeats
* lisp/org-agenda.el (org-agenda-get-scheduled): Fix scheduled repeats. This is a follow-up to b5c19643d2347e4e1f4d76634b458380a46e39c4.
-rw-r--r--lisp/org-agenda.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el
index 6cb6397..a862a62 100644
--- a/lisp/org-agenda.el
+++ b/lisp/org-agenda.el
@@ -6214,7 +6214,7 @@ scheduled items with an hour specification like [h]h:mm."
(pcase-let ((`(,first ,past) org-agenda-scheduled-leaders))
;; Show a reminder of a past scheduled today.
(if (and todayp pastschedp)
- (format past (1+ diff))
+ (format past diff)
first))
head level category tags time nil habitp))
(face (cond ((and (not habitp) pastschedp)