org-agenda.el: Fix bug in top-category filtering.
commit18cf324f07ca0513a9bb75e2ae4c57e87c9ebb6c
authorBastien Guerry <bzg@altern.org>
Sun, 22 Apr 2012 07:21:42 +0000 (22 09:21 +0200)
committerBastien Guerry <bzg@altern.org>
Sun, 22 Apr 2012 07:21:42 +0000 (22 09:21 +0200)
treeeac100116b6211897baa4fc68f2a1951bd7b6fc7
parentef956d71814236ad2034ba1b2856047d3c330bdc
org-agenda.el: Fix bug in top-category filtering.

* org-agenda.el (org-agenda-top-category-filter): New variable
for storing the current top-category filter.
(org-agenda-redo): Apply a top-category filter, if any.
(org-agenda-filter-by-top-category)
(org-agenda-filter-top-category-apply): Set
`org-agenda-top-category-filter' to the right value.

Thanks to John Wiegley for reporting this.
lisp/org-agenda.el