From f0d010269c1bbd3ecf02087f28e16c708be4cc30 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Mon, 11 Oct 2021 06:46:43 -0700 Subject: emacs: set org-directory with other variables --- emacs/custom/fcuny-vars.el | 5 +++++ 1 file changed, 5 insertions(+) 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) -- cgit 1.4.1