From 175aa76475221aef6dd5c79d7051fb0dfe68701d Mon Sep 17 00:00:00 2001 From: GrĂ©goire DuchĂȘne Date: Sat, 6 Jul 2024 11:51:13 +0100 Subject: emacs: Group dotfiles buffers separately --- emacs/early-init.el | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'emacs/early-init.el') 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) -- cgit v1.2.3-70-g09d2