diff options
author | Timo Wilken | 2023-09-14 12:16:56 +0200 |
---|---|---|
committer | Timo Wilken | 2023-09-14 12:16:56 +0200 |
commit | 483dda37df4c697944b81c07c88e577a0c4bc1e4 (patch) | |
tree | 69b5f68b365ff0df6c704e8dd61e3283aaacdce6 /tw/home | |
parent | 30e3b2e5a4e0cb60750daf2ae942d93d35e3472d (diff) |
Override Emacs' faulty italics detection
Diffstat (limited to 'tw/home')
-rw-r--r-- | tw/home/files/emacs-init.el | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tw/home/files/emacs-init.el b/tw/home/files/emacs-init.el index ce386b76..947f4ed3 100644 --- a/tw/home/files/emacs-init.el +++ b/tw/home/files/emacs-init.el @@ -94,9 +94,11 @@ ;; Look and feel (set-face-attribute 'default nil :family "Hermit" :height 100) +;; For some reason, Emacs doesn't detect italic support, and falls back to +;; underlining. Stop it from doing this and use italics instead. +(set-face-attribute 'italic nil :slant 'italic :underline nil) (use-package catppuccin-theme - :commands (catppuccin-reload catppuccin-get-color) :load-path "./" :custom (catppuccin-flavor 'mocha "Use the darkest Catppuccin theme.") |