Set org & org-roam directories.
This commit is contained in:
parent
e28541411a
commit
1b2ccf9dcc
|
@ -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'.
|
||||
|
|
Loading…
Reference in New Issue