org-agenda.el: Rename the "top-category" filter as "top-headline"
commitc61303ed3dd7957b6f49893dfa8ab10779140a5e
authorBastien Guerry <bzg@altern.org>
Fri, 5 Apr 2013 16:44:11 +0000 (5 18:44 +0200)
committerBastien Guerry <bzg@altern.org>
Fri, 5 Apr 2013 17:46:02 +0000 (5 19:46 +0200)
tree9ef4fcef315a8c05131be0964ac30d38ff355841
parent889b7e507c7a6f22772c79a531ad4a5726d5f29a
org-agenda.el: Rename the "top-category" filter as "top-headline"

* org-agenda.el (org-agenda-top-headline-filter): Rename from
`org-agenda-top-headline-filter'.
(org-find-top-headline): Rename from `org-find-top-category'.
Add a docstring.
(org-agenda-filtered-by-top-headline): Rename from
`org-agenda-filtered-by-top-category'.
(org-agenda-filter-by-top-headline): Rename from
`org-agenda-filter-by-top-category'.  Fix docstring.
(org-agenda-filter-top-headline-apply): Rename from
`org-agenda-filter-top-category-apply'.  Fix docstring.
(org-agenda-mode-map): Update binding.

Using category here was confusing, because there is no Org
category involved, the filtering is really against a headline.
Since category filtering also exists, the confusion was bad.
lisp/org-agenda.el