summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2016-12-02 23:24:38 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2016-12-02 23:24:38 +0100
commite72485336fdcaf568c4afc3ca76913f9ecb9495f (patch)
tree0e5ec1d183e3874ccc153e10e9c5248ee1db374a
parent9950252f342ea5b877f1f43c99d2e06adca7b596 (diff)
downloadorg-mode-e72485336fdcaf568c4afc3ca76913f9ecb9495f.tar.gz
org-agenda: Fix face for past scheduled time stamps
* lisp/org-agenda.el (org-agenda-get-scheduled): Fix face.
-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 3e99504..da748af 100644
--- a/lisp/org-agenda.el
+++ b/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)))