Explorar o código

org-agenda: Fix face for past scheduled time stamps

* lisp/org-agenda.el (org-agenda-get-scheduled): Fix face.
Nicolas Goaziou %!s(int64=8) %!d(string=hai) anos
pai
achega
e72485336f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      lisp/org-agenda.el

+ 1 - 1
lisp/org-agenda.el

@@ -6365,7 +6365,7 @@ scheduled items with an hour specification like [h]h:mm."
 			;; schedule.
 			(t (format next (1+ diff)))))
 		     head level category tags time nil habitp))
-		   (face (cond ((and (not habitp) (< current today))
+		   (face (cond ((and (not habitp) pastschedp)
 				'org-scheduled-previously)
 			       (todayp 'org-scheduled-today)
 			       (t 'org-scheduled)))