summaryrefslogtreecommitdiff
path: root/tw/home
diff options
context:
space:
mode:
authorTimo Wilken2023-09-14 12:16:56 +0200
committerTimo Wilken2023-09-14 12:16:56 +0200
commit483dda37df4c697944b81c07c88e577a0c4bc1e4 (patch)
tree69b5f68b365ff0df6c704e8dd61e3283aaacdce6 /tw/home
parent30e3b2e5a4e0cb60750daf2ae942d93d35e3472d (diff)
Override Emacs' faulty italics detection
Diffstat (limited to 'tw/home')
-rw-r--r--tw/home/files/emacs-init.el4
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.")