Procházet zdrojové kódy

Merge branch 'maint'

Marco Wahl před 4 roky
rodič
revize
3327fbb6d4
1 změnil soubory, kde provedl 2 přidání a 1 odebrání
  1. 2 1
      lisp/org-habit.el

+ 2 - 1
lisp/org-habit.el

@@ -343,7 +343,8 @@ current time."
 	      (if (and in-the-past-p
 		       (not last-done-date)
 		       (not (< scheduled now)))
-		  (if (= start (car all-done-dates))
+		  (if (and all-done-dates (= (car all-done-dates) start))
+		      ;; This is the very first done of this habit.
 		      '(org-habit-ready-face . org-habit-ready-future-face)
 		    '(org-habit-clear-face . org-habit-clear-future-face))
 		(org-habit-get-faces