diff --git a/emacs/.spacemacs b/emacs/.spacemacs index 22402e0..fcbbfe7 100644 --- a/emacs/.spacemacs +++ b/emacs/.spacemacs @@ -318,8 +318,10 @@ layers configuration. This is the place where most of your configurations should be done. Unless it is explicitly specified that a variable should be set before a package is loaded, you should place your code here." + (setq org-directory (expand-file-name "~/documents/org")) + (setq org-default-notes-file (concat org-directory "/notes.org")) + (setq org-agenda-files (directory-files-recursively org-directory "\.org$")) ) - ;; Do not write anything past this comment. This is where Emacs will ;; auto-generate custom variable definitions. (custom-set-variables