I was trying to use the capture as is explained in org-manual p. 85. This is the relevant part of my .emacs file.
(setq org-default-notes-file (concat org-directory "~/Notities/org-mode/Capture.org")) (define-key global-map "\C-cc" 'org-capture)
But I get this error.
Symbol's value as variable is void: org-directory
I tried the following solution, but it didn't work. The filepath is directed to an existing file. Why do I still get this error?