diff --git a/config.el b/config.el index 3b145ff..ed702d7 100644 --- a/config.el +++ b/config.el @@ -29,7 +29,11 @@ ;; If you use `org' and don't want your org files in the default location below, ;; change `org-directory'. It must be set before org loads! -(setq org-directory "~/org/") +(let* ((org-dir (file-truename "~/Notes")) + (roam-dir (format "%s/roam" org-dir))) + (make-directory roam-dir 'parents) + (setq org-directory org-dir) + (setq org-roam-directory roam-dir)) ;; This determines the style of line numbers in effect. If set to `nil', line ;; numbers are disabled. For relative line numbers, set this to `relative'.