summaryrefslogtreecommitdiff
path: root/emacs/early-init.el
diff options
context:
space:
mode:
Diffstat (limited to 'emacs/early-init.el')
-rw-r--r--emacs/early-init.el6
1 files changed, 5 insertions, 1 deletions
diff --git a/emacs/early-init.el b/emacs/early-init.el
index 86bfcb9..1547a41 100644
--- a/emacs/early-init.el
+++ b/emacs/early-init.el
@@ -1,8 +1,12 @@
+(defconst my/dotfiles-directory
+ (file-truename (concat user-emacs-directory "../"))
+ "Directory containing all configuration files.")
+
;; Helper Loading Functions
(defun my/load-file (filename)
"Load FILENAME if it exists within the dotfiles directory."
- (load (concat (file-truename user-emacs-directory) "../"
+ (load (concat my/dotfiles-directory
(substitute-in-file-name filename)) :no-error))
(defun my/load-file-variations (filename)