Explorar el Código

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 <e.fraga@ucl.ac.uk>
<http://permalink.gmane.org/gmane.emacs.orgmode/112755>
Nicolas Goaziou hace 8 años
padre
commit
b5c19643d2
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      lisp/org-agenda.el

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