0
0
Fork 1
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-07-16 01:16:27 +00:00

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

* org-agenda.el (org-agenda-filter-apply): Bugfix: Add let
binding.
This commit is contained in:
Bastien Guerry 2012-03-23 22:13:59 +01:00
parent 5197a7c8fb
commit 86643eba4f

View file

@ -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