Olivier Schwander <olivier.schwan...@chadok.info> wrote: > Le 11 Nov 2011 12:17, Cameron Seader a écrit: > > I get an error when setting the variable to a folder > > (setq org-agenda-custom-commands > > ((org-agenda-files '("~/Documents/Notes/org/")) > > )) > > You are not supposed to set it to a folder.
That's not true: you can set it to - a list of files and directories - a single file name C-h v org-agenda-files RET for the details. > I use something like: > (setq org-agenda-files (file-expand-wildcards "~/Notes/*.org")) > You can do the same thing like this: (setq org-agenda-files '("~/Notes")) with the default value of org-agenda-file-regexp. Nick