emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] org-agenda-files


From: Paul Jewell
Subject: Re: [O] org-agenda-files
Date: Thu, 8 Oct 2015 22:36:09 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0


On 08/10/15 20:42, Eric S Fraga wrote:
> On Tuesday,  6 Oct 2015 at 21:34, Paul Jewell wrote:
> 
> [...]
> 
>> So by setting org-user-agenda-files in my .emacs before loading
>> org-mode.el (which I have in my ~/.emacs.d/lisp directory), I should be
>> setting org-agenda-files to ("~/git/org" "~/git/org/test").
> 
> When do you load org itself?
> 
> Other than variables set by customize, I load org and then setq
> variables.
> 

The problem was customize. I set the org-user-agenda-files in .emacs,
then load the org-mode.el. This loads org mode at te top of the file,
then sets org-agenda-files to org-user-agenda-files.

The bit I missed was that org-agenda-files were set in customize to nil,
and this change was happening after the assignment. Once I cleared this,
everything works as planned.

Thanks for coming back to me!



reply via email to

[Prev in Thread] Current Thread [Next in Thread]