commit 622d92f59f90e1588a1189bb65b9593f4bd76d32 parent f52fcf61d9db5b1e15320cf51f858afc0132462d Author: Lukas Henkel <lh@entf.net> Date: Mon, 26 Jul 2021 20:38:37 +0200 Set org-directory Diffstat:
M | config.org | | | 8 | +++++++- |
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/config.org b/config.org @@ -278,7 +278,13 @@ Makes it easy to switch windows. :init (setq org-startup-indented nil org-src-window-setup 'current-window - org-support-shift-select t)) + org-support-shift-select t) + (let ((orgdir (expand-file-name "org" lh/dir-documents))) + (unless (file-exists-p orgdir) + (make-directory orgdir)) + (setq org-directory orgdir + org-agenda-files orgdir))) + #+end_src * Code ** Autocomplete