summary refs log tree commit diff
path: root/emacs
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2021-10-11 06:46:43 -0700
committerFranck Cuny <franck@fcuny.net>2021-10-11 06:46:43 -0700
commitf0d010269c1bbd3ecf02087f28e16c708be4cc30 (patch)
tree27a1d481215b9e9e88785ed425ce1e8bba7b1242 /emacs
parentemacs: notmuch's tags for archiving emails (diff)
downloademacs.d-f0d010269c1bbd3ecf02087f28e16c708be4cc30.tar.gz
emacs: set org-directory with other variables
Diffstat (limited to 'emacs')
-rw-r--r--emacs/custom/fcuny-vars.el5
1 files changed, 5 insertions, 0 deletions
diff --git a/emacs/custom/fcuny-vars.el b/emacs/custom/fcuny-vars.el
index f3efe6a..3f025fc 100644
--- a/emacs/custom/fcuny-vars.el
+++ b/emacs/custom/fcuny-vars.el
@@ -13,4 +13,9 @@
 (defvar fcuny/path-workspace (expand-file-name "workspace" (getenv "HOME"))
   "Path to the workspace.")
 
+(defvar fcuny/org-directory
+  (if (memq window-system '(mac ns))
+      (expand-file-name "~/workspace/notebooks/")
+    (expand-file-name "~/documents/notes/")))
+
 (provide 'fcuny-vars)