summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarsten Dominik <carsten.dominik@gmail.com>2011-02-06 08:14:58 +0100
committerCarsten Dominik <carsten.dominik@gmail.com>2011-02-06 08:14:58 +0100
commitca220e9c40e4467f436a0a1501fb1fd730093cec (patch)
tree3b1efe7ee4ae1913ac91539c590b1d1473bfcfef
parent68cf793ba9ac4b2987964f033e9f545df0244587 (diff)
parent73be48bdf92dbda2a7b700b8cb0c1467c6738d89 (diff)
downloadorg-mode-ca220e9c40e4467f436a0a1501fb1fd730093cec.tar.gz
Merge branch 'fix-todo-list-with-extended-today'
-rw-r--r--lisp/org-agenda.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el
index 9e640c5..d146f83 100644
--- a/lisp/org-agenda.el
+++ b/lisp/org-agenda.el
@@ -4489,7 +4489,8 @@ the documentation of `org-diary'."
(while (setq arg (pop args))
(cond
((and (eq arg :todo)
- (equal date (calendar-current-date)))
+ (equal date (calendar-gregorian-from-absolute
+ (org-today))))
(setq rtn (org-agenda-get-todos))
(setq results (append results rtn)))
((eq arg :timestamp)