org.el: Filter agenda by persistent tags

* org.el (org-agenda-prepare-buffers): Add tags defined in
org-tag-persistent-alist to org-tag-alist-for-agenda.

This makes tag hotkeys defined in `org-tag-persistent-alist' appear when
the user invokes `org-agenda-filter-by-tag-refine'.

TINYCHANGE
This commit is contained in:
Viktor Rosenfeld 2013-04-24 15:54:14 +02:00 committed by Bastien Guerry
parent 778c812535
commit 19e1022e26
1 changed files with 4 additions and 1 deletions

View File

@ -17985,7 +17985,10 @@ When a buffer is unmodified, it is just killed. When modified, it is saved
(setq org-drawers-for-agenda
(append org-drawers-for-agenda org-drawers))
(setq org-tag-alist-for-agenda
(org-uniquify (append org-tag-alist-for-agenda org-tag-alist)))
(org-uniquify
(append org-tag-alist-for-agenda
org-tag-alist
org-tag-persistent-alist)))
(if org-group-tags
(setq org-tag-groups-alist-for-agenda
(org-uniquify-alist