[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Org-agenda-custom-commands, restrict Agenda to file/files?
From: |
suvayu ali |
Subject: |
Re: [O] Org-agenda-custom-commands, restrict Agenda to file/files? |
Date: |
Thu, 6 Oct 2011 15:45:42 +0200 |
2011/10/6 Gustav Wikström <address@hidden>:
> 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.