2011/10/6 Gustav Wikström <[email protected]>:
> I want to simplify this with a custom-command. And here comes my problem,
> what is the option to restrict the agenda to a certain file? Changing the
> org-agenda-files list does not seem to make a difference when using a custom
> agenda.
Something like this should work. The variable list below is like a let binding.
("<key>" "Some custom command" <agenda command> "..."
((org-agenda-files (list "file1" "file2"))
(<other variables you want to bind>)))
HTH
--
Suvayu
Open source is the future. It sets us free.