How do I add a new ibuffer saved filter group which matches all files in org-agenda-files
?
Something like:
(setq-default ibuffer-saved-filter-groups
`(("Default"
("Agenda" (or (mode . org-agenda-mode)
(mode . diary-mode)
(predicate . '(lambda ()
(member (buffer-file-name)
(mapcar 'expand-file-name org-agenda-files))))))))
I'm guessing at the predicate
bit as I can't find any examples or documentation. What should it really look like?