瀏覽代碼

org-agenda: Fix scheduled repeats

* lisp/org-agenda.el (org-agenda-get-scheduled): Fix scheduled
  repeats.

This is a follow-up to b5c19643d2347e4e1f4d76634b458380a46e39c4.
Nicolas Goaziou 8 年之前
父節點
當前提交
00f95cb126
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      lisp/org-agenda.el

+ 1 - 1
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)