Julien Cubizolles <[email protected]> writes:

> Julien Cubizolles <[email protected]> writes:
>
>> Nick Dokos <[email protected]> writes:
>>
>>
>>> Bind org-agenda-files in a let before calling cfw:open-org-calendar:
>>>
>>> (let ((org-agenda-files '(...)))
>>>   (cfw:open-org-calendar))
>>
>> That's exactly what I needed, thanks.
>
> I just noticed something very weird, as soon as the agenda is recreated
> (next month in a month view), the binding of org-agenda-files is lost,
> and reverts to the global value...
>
>

I admit I didn't read your original question very carefully, so I might
have overlooked something, but the behavior above is not weird: the let
binds org-agenda-files and then calls cfw:ooc - when that returns the
let binding is gone as well.

-- 
Nick


Reply via email to