diff options
| author | Grégoire Duchêne <gduchene@awhk.org> | 2024-07-06 11:51:13 +0100 |
|---|---|---|
| committer | Grégoire Duchêne <gduchene@awhk.org> | 2024-07-06 11:51:13 +0100 |
| commit | 175aa76475221aef6dd5c79d7051fb0dfe68701d (patch) | |
| tree | 318a32576bae45905324f8f31d97fe771f001140 /emacs/early-init.el | |
| parent | dc92d817ea37992201554c1fea910075867129ef (diff) | |
emacs: Group dotfiles buffers separately
Diffstat (limited to 'emacs/early-init.el')
| -rw-r--r-- | emacs/early-init.el | 6 |
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) |
