all repos — nixfiles @ cf3c3b58401981d9938893f0d15fe86cdfc31585

System and user configuration, managed by nix and home-manager

emacs: fix theme customisations not applying

Alin
commit

cf3c3b58401981d9938893f0d15fe86cdfc31585

parent

267096c91d8c1649a2ffc8ee194502b41daafc03

1 file changed, 4 insertions(+), 4 deletions(-)

changed files
M user/settings/emacs/theme.el → user/settings/emacs/theme.el
@@ -13,9 +13,6 @@ (bg-mode-line-inactive bg-dim)
(border-mode-line-active unspecified) (border-mode-line-inactive unspecified))) - (load-theme light-mode-theme :noconfirm :noenable) - (load-theme dark-mode-theme :noconfirm :noenable) - (defun my/modus-themes-custom (&rest _) (modus-themes-with-colors (custom-set-faces
@@ -27,7 +24,10 @@ `(git-gutter-fr:added ((,c :foreground ,bg-added-fringe :background nil)))
`(git-gutter-fr:deleted ((,c :foreground ,bg-removed-fringe :background nil))) `(git-gutter-fr:modified ((,c :foreground ,bg-changed-fringe :background nil)))))) - (add-hook 'modus-themes-after-load-theme-hook #'my/modus-themes-custom) + (add-hook 'enable-theme-functions #'my/modus-themes-custom) + + (load-theme light-mode-theme :noconfirm :noenable) + (load-theme dark-mode-theme :noconfirm :noenable) (defun my/switch-theme-variant (mode) (interactive (list