Reputation: 448
I put this in my .emacs file:
(setq org-default-notes-file (concat org-directory "/notes.org"))
(define-key global-map "\C-cc" 'org-capture)
But when I open emacs, this occurs:
Symbol's value as variable is void:org-directory
How can I solve this?
Upvotes: 0
Views: 544
Reputation: 3198
You first need to set org-directory
with something like (setq org-directory "folder")
otherwise it will be undefined and produce an error
Upvotes: 3