andrea Crotti <andrea.crott...@gmail.com> wrote:

> 
> I tried this because I have more base directories.
> (setq org-directories '("~/org" "~/uni"))
> (setq org-agenda-files ())
> (dolist ((d org-directories))
>   (setq org-agenda-files
>       (append org-agenda-files (find-lisp-find-files d "\.org$"))))
> 
> 
> But it sets org-agenda-files to nil...

Too many parens: try

(dolist (d org-directories)
   (setq org-agenda-files
        (append org-agenda-files (find-lisp-find-files d "\.org$"))))

Nick



_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to