This variable was defined but not used, now it is.
@@ -1,3 +1,7 @@
+2008-03-17 Carsten Dominik <dominik@science.uva.nl>
+
+ * org.el (org-scheduled-past-days): Respect
+ `org-scheduled-past-days'.
2008-03-14 Bastien Guerry <bzg@altern.org>
@@ -21834,6 +21834,7 @@ FRACTION is what fraction of the head-warning time has passed."
;; When to show a scheduled item in the calendar:
;; If it is on or past the date.
(if (or (and (< diff 0)
+ (< (abs diff) org-scheduled-past-days)
(and todayp (not org-agenda-only-exact-dates)))
(= diff 0))
(save-excursion