summaryrefslogtreecommitdiff
path: root/emacs/custom/my-vars.el
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-03-23 09:55:58 -0700
committerFranck Cuny <franck@fcuny.net>2022-03-23 09:55:58 -0700
commit1543ac66ba6f829082b745e6a11a9aeb9e8faec7 (patch)
treef06103de2e5d82426877595cd23d6201f2cdb000 /emacs/custom/my-vars.el
parentrename fcuny-org to my-org (diff)
downloademacs.d-1543ac66ba6f829082b745e6a11a9aeb9e8faec7.tar.gz
rename a few more libraries
Diffstat (limited to 'emacs/custom/my-vars.el')
-rw-r--r--emacs/custom/my-vars.el26
1 files changed, 26 insertions, 0 deletions
diff --git a/emacs/custom/my-vars.el b/emacs/custom/my-vars.el
new file mode 100644
index 0000000..03b9fa0
--- /dev/null
+++ b/emacs/custom/my-vars.el
@@ -0,0 +1,26 @@
+;;; my-vars.el --- Set a number of variables
+;;; Commentary:
+;;; Code:
+
+(defvar fcuny/path-emacs-var (expand-file-name "var" user-emacs-directory)
+ "Path to some files for Emacs.")
+
+(defvar fcuny/path-emacs-etc (expand-file-name "etc" user-emacs-directory)
+ "Path to some files for Emacs.")
+
+(defvar fcuny/custom-settings (expand-file-name "emacs-custom.el" fcuny/path-emacs-var)
+ "Path to Emacs custom variables.")
+
+(defvar fcuny/path-emacs-elpa (expand-file-name "elpa" fcuny/path-emacs-var)
+ "Path to elpa's local files.")
+
+(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 'my-vars)
+;;; my-vars.el ends here