summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Guerry <bzg@altern.org>2012-10-03 09:14:16 (GMT)
committer Bastien Guerry <bzg@altern.org>2012-10-03 09:14:16 (GMT)
commit83dbbfed280218b1d7e0623f018cb82e0f74e978 (patch)
tree948cbf6ef7df61a4e349c6487a42632425387381
parent1700ea7722b4737a9b6569487f3e57fd36bcca5e (diff)
parent562aec40dd8cda01e329147ffcc527a1c16486bc (diff)
downloadorg-mode-83dbbfed280218b1d7e0623f018cb82e0f74e978.zip
org-mode-83dbbfed280218b1d7e0623f018cb82e0f74e978.tar.gz
Merge branch 'maint'
-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 9283e73..7fc39d5 100644
--- a/lisp/org-agenda.el
+++ b/lisp/org-agenda.el
@@ -5381,7 +5381,7 @@ Do we have a reason to ignore this TODO entry because it has a time stamp?
(setq b0 (match-beginning 0)
b3 (match-beginning 3) e3 (match-end 3)
todo-state (save-match-data (ignore-errors (org-get-todo-state)))
- habitp (and (functionp 'org-is-habit-p) (org-is-habit-p))
+ habitp (and (functionp 'org-is-habit-p) (save-match-data (org-is-habit-p)))
show-all (or (eq org-agenda-repeating-timestamp-show-all t)
(member todo-state
org-agenda-repeating-timestamp-show-all)))