org-agenda.el: Fix bug: do not bypass `org-agenda-timerange-leaders'
commit1dd42283b76c6154aeb41e456d5eace65b59584a
authorBastien Guerry <bzg@altern.org>
Mon, 1 Oct 2012 15:53:39 +0000 (1 17:53 +0200)
committerBastien Guerry <bzg@altern.org>
Mon, 1 Oct 2012 15:53:39 +0000 (1 17:53 +0200)
tree0a28631d9cb4fccb6e9e2c219d21ac38a55c3ee0
parent1df9907b50a20fd9218532df053b77937bf2c4c9
org-agenda.el: Fix bug: do not bypass `org-agenda-timerange-leaders'

* org-agenda.el (org-agenda-get-timestamps): Check if the item
is an habit when formatting it with `org-agenda-format-item'.
(org-agenda-get-blocks): Fix bug: don't assume the item is an
habit when formatting with `org-agenda-format-item'.

Thanks to George McNinch for reporting this.
lisp/org-agenda.el