aboutsummaryrefslogtreecommitdiff
path: root/Emacs/.config/emacs/init.el
diff options
context:
space:
mode:
Diffstat (limited to 'Emacs/.config/emacs/init.el')
-rw-r--r--Emacs/.config/emacs/init.el7
1 files changed, 7 insertions, 0 deletions
diff --git a/Emacs/.config/emacs/init.el b/Emacs/.config/emacs/init.el
index 4c38d29..6011df4 100644
--- a/Emacs/.config/emacs/init.el
+++ b/Emacs/.config/emacs/init.el
@@ -47,6 +47,13 @@
(straight-use-package 'use-package)
(straight-use-package 'org)
+(straight-use-package 'no-littering)
+
+(setq no-littering-etc-directory (expand-file-name ".config/" user-emacs-directory)
+ no-littering-var-directory (expand-file-name ".local/" user-emacs-directory)
+ custom-file (no-littering-expand-etc-file-name "custom.el"))
+
+(load-file custom-file)
;;; Load literate
(load-file (concat user-emacs-directory "elisp/literate.el"))