Cameron Seader <c...@suse.com> wrote:

> (setq org-agenda-custom-commands
>         ((org-agenda-files '("~/Documents/Notes/org/"))
>         ))
> 

> I get the following error when my .emacs file is initialized.
> 
> Invalid function: (org-agenda-files (quote (~/Documents/Notes/org/)))
> 

Bad syntax: to set the variable, say

(setq org-agenda-files '("~/Documents/Notes/org"))

This has nothing to do with org-agenda-custom-commands. If you want
to set the latter to something, do it separately.

Nick

Reply via email to