1
0
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-12-25 10:47:12 +00:00

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

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