summaryrefslogtreecommitdiff
path: root/emacs-config.org
diff options
context:
space:
mode:
authorBlake Romero <blake@blkrom.com>2025-10-03 15:39:51 +0100
committerBlake Romero <blake@blkrom.com>2025-10-03 15:39:51 +0100
commitd29ca8274c1c82941f26007562aa8b66c392b0ff (patch)
treec9b5846f3777bf57077596ec2f2df0467e770db1 /emacs-config.org
parentb098384fb720398f58cdc80895235af23171ffee (diff)
Move fringe face setting
Diffstat (limited to 'emacs-config.org')
-rw-r--r--emacs-config.org10
1 files changed, 5 insertions, 5 deletions
diff --git a/emacs-config.org b/emacs-config.org
index 7b98a2d..cd14eb2 100644
--- a/emacs-config.org
+++ b/emacs-config.org
@@ -125,15 +125,15 @@ Enable pairing brackets and add additional bracket pairs.
Enable theme.
#+begin_src elisp
(load-theme 'modus-vivendi)
+ (set-face-attribute 'fringe nil :background "unspecified-bg")
#+end_src
Fix fringe background colour.
#+begin_src elisp
- (set-face-attribute 'fringe nil :background "unspecified-bg")
- (advice-add 'modus-themes-toggle
- :after (lambda () "Hide fringe background on theme toggle."
- (set-face-attribute 'fringe nil
- :background "unspecified-bg")))
+ (add-hook 'modus-themes-after-load-theme-hook
+ (lambda () "Hide fringe background on theme toggle."
+ (set-face-attribute 'fringe nil
+ :background "unspecified-bg")))
#+end_src
** Font