On Wed, Oct 10, 2012 at 5:58 PM, Sebastien Vauban
<wxhgmqzgw...@spammotel.com> wrote:
> Hi Chris,
>
> Chris Henderson wrote:
>> I am getting this error when I add the following line to .emacs file:
>>
>> Warning (initialization): An error occurred while loading
>> `/Users/<user>/.emacs':
>>
>> Symbol's value as variable is void: org-directory
>
> It says it all: you're using an undefined variable (org-directory).
>
>> (setq org-default-notes-file (concat org-directory "~/org/note.org"))
>
> Adapt your code as this:
>
> --8<---------------cut here---------------start------------->8---
>   (setq org-directory "~/org/")
>   (setq org-default-notes-file (concat org-directory "note.org"))
> --8<---------------cut here---------------end--------------->8---

Thanks. It works.

Reply via email to