[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Warning (initialization): An error occurred while loading /Users
From: |
Sebastien Vauban |
Subject: |
Re: [O] Warning (initialization): An error occurred while loading /Users/<user>/.emacs |
Date: |
Wed, 10 Oct 2012 08:58:47 +0200 |
User-agent: |
Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.1 (windows-nt) |
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