Fix locating package-config.el

This commit is contained in:
Evie Litherland-Smith 2024-04-17 13:13:35 +01:00
parent fee6ebd791
commit 1e314f23a5

View file

@ -7,7 +7,7 @@
(setopt warning-minimum-level :error)
;; Configure packages archives with priority
(load-file "package-config.el")
(load-file (locate-user-emacs-file "package-config.el"))
(setq custom-file (locate-user-emacs-file "custom.el"))
(when (and custom-file (file-exists-p custom-file))