From 483dda37df4c697944b81c07c88e577a0c4bc1e4 Mon Sep 17 00:00:00 2001 From: Timo Wilken Date: Thu, 14 Sep 2023 12:16:56 +0200 Subject: Override Emacs' faulty italics detection --- tw/home/files/emacs-init.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'tw/home/files/emacs-init.el') 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.") -- cgit v1.2.3