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---

Best regards,
  Seb

-- 
Sebastien Vauban


Reply via email to