summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarsten Dominik <carsten.dominik@gmail.com>2008-03-17 14:30:26 +0100
committerCarsten Dominik <carsten.dominik@gmail.com>2008-03-17 14:30:26 +0100
commit9b661ddca2670b5057ebb06fdd1c3000ff0c32c7 (patch)
treebf395dfcb3ece3eee3184d5a11e0795875740b34
parent16bc9499a6fbf65728ac93251958636dd92cf541 (diff)
downloadorg-mode-9b661ddca2670b5057ebb06fdd1c3000ff0c32c7.tar.gz
Use `org-scheduled-past-days'.
This variable was defined but not used, now it is.
-rw-r--r--ChangeLog4
-rw-r--r--org.el1
2 files changed, 5 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 7c72a7a..a7a3afd 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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>
diff --git a/org.el b/org.el
index 4fe79d7..e9d035f 100644
--- a/org.el
+++ b/org.el
@@ -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