Skip to content

Commit

Permalink
fix(core): load the right local configuration files
Browse files Browse the repository at this point in the history
  • Loading branch information
abougouffa committed Nov 14, 2023
1 parent 32ed27e commit eae5274
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions init.el
Original file line number Diff line number Diff line change
Expand Up @@ -154,8 +154,8 @@
;; Then we load the loaddefs file
(+load minemacs-loaddefs-file)

;; Load user init tweaks from "$MINEMACSDIR/init-tweaks.el" when available
(+load-user-configs 'init-tweaks 'local-init-tweaks)
;; Load user init tweaks when available
(+load-user-configs 'init-tweaks 'local/init-tweaks)

;; HACK: Load the environment variables saved from shell using `+env-save' to
;; `+env-file'. `+env-save' saves all environment variables except these matched
Expand Down Expand Up @@ -217,7 +217,7 @@
(setq minemacs-not-lazy t))
;; Load the default list of enabled modules (`minemacs-modules' and `minemacs-core-modules')
(+load minemacs-core-dir "me-modules.el")
(+load-user-configs 'modules 'local-modules))
(+load-user-configs 'modules 'local/modules))

;; NOTE: Ensure the `me-gc' module is in the core modules list. This module
;; enables the `gcmh-mode' package (a.k.a. the Garbage Collector Magic Hack).
Expand Down Expand Up @@ -257,7 +257,7 @@
(when (file-exists-p custom-file) (+load custom-file))

;; Load user configuration
(+load-user-configs 'config 'local-config)
(+load-user-configs 'config 'local/config)

(+lazy!
(when (featurep 'native-compile)
Expand Down

0 comments on commit eae5274

Please sign in to comment.