Browse Source

org-agenda.el (org-agenda-filter-apply): Bugfix: Add a missing let binding.

* org-agenda.el (org-agenda-filter-apply): Bugfix: Add let
binding.
Bastien Guerry 13 years ago
parent
commit
86643eba4f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lisp/org-agenda.el

+ 1 - 1
lisp/org-agenda.el

@@ -6374,7 +6374,7 @@ If the line does not have an effort defined, return nil."
 
 (defun org-agenda-filter-apply (filter type)
   "Set FILTER as the new agenda filter and apply it."
-  (let (tags)
+  (let (tags cat)
     (if (eq type 'tag)
 	(setq org-agenda-tag-filter filter)
       (setq org-agenda-category-filter filter