diff options
| author | Nicholas Rodrigues Lordello <[email protected]> | 2025-03-26 10:04:29 +0100 |
|---|---|---|
| committer | Nicholas Rodrigues Lordello <[email protected]> | 2025-03-26 10:04:29 +0100 |
| commit | 2a11d2649bcefe819636600e69a7e5972d48408d (patch) | |
| tree | 16d352ba6abec4551137ef5845955ede5ef99f88 /config/emacs/init.el | |
| parent | 0417bbd340d9f5f425afb20b52886c75cd15521d (diff) | |
Fix Configuration Loading
The previous commit introduced the concept of flavours to the init
system, but was named wonkily. Also fix the custom.el loading to make
sure it happens right at the end of the Sanemacs configuration,
instead of somewhere in the middle. This allows for more consistent
system-dependant customization.
Diffstat (limited to 'config/emacs/init.el')
| -rw-r--r-- | config/emacs/init.el | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/config/emacs/init.el b/config/emacs/init.el index e6ca9c3..29f3a20 100644 --- a/config/emacs/init.el +++ b/config/emacs/init.el @@ -8,8 +8,8 @@ (load "~/.config/emacs/sanemacs.el" nil t) -(defcustom system-category 'plain - "The category of system. +(defcustom system-flavour 'plain + "The flavour of system. Allows initialization and customization differentiation with a shared .emacs." @@ -17,7 +17,7 @@ (const :tag "Development" development)) :group 'convenience) -(when (eq system-category 'development) - (load "~/.config/emacs/config/development.el" nil t)) +(when (eq system-flavour 'development) + (load "~/.config/emacs/flavours/development.el" nil t)) (when (eq system-type 'darwin) - (load "~/.config/emacs/config/macos.el" nil t)) + (load "~/.config/emacs/flavours/macos.el" nil t)) |
