summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2024-09-21 07:44:25 +0200
committerThomas Voss <mail@thomasvoss.com> 2024-09-21 07:44:25 +0200
commitf6dbd2c2b3b7d1d21724a93ef024383dd8140422 (patch)
treec44a3eafd0aff7a0b4fbc907e6a33fef6c183f3b
parent0536c594edf4bc5a949479f68d49bd6cb79c05a3 (diff)
emacs: Add the config directory to the load path
-rw-r--r--.config/emacs/early-init.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/.config/emacs/early-init.el b/.config/emacs/early-init.el
index e5fef0d..dc8b6c2 100644
--- a/.config/emacs/early-init.el
+++ b/.config/emacs/early-init.el
@@ -53,6 +53,8 @@
backup-directory-alist `(("." . ,(expand-file-name
"backups" x-cache-directory))))
+(push x-config-directory load-path)
+
(when (native-comp-available-p)
(startup-redirect-eln-cache
(expand-file-name (expand-file-name "eln/" x-cache-directory))))