org-agenda.el: Remove useless prefix argument.

* org-agenda.el (org-agenda-filter-by-category): Remove
useless prefix argument.

Thanks to John Wiegley for spotting this.
This commit is contained in:
Bastien Guerry 2012-04-10 20:09:28 +02:00
parent e1c83760bc
commit 346907b996

View file

@ -6217,7 +6217,7 @@ When this is the global TODO list, a prefix argument will be interpreted."
(defun org-agenda-filter-by-category (strip)
"Keep only those lines in the agenda buffer that have a specific category.
The category is that of the current line."
(interactive "P")
(interactive)
(if org-agenda-filtered-by-category
(org-agenda-filter-show-all-cat)
(let ((cat (org-no-properties (get-text-property (point) 'org-category))))