Here's a method I use to disable bold and underline faces. I found it online years ago, and unfortunately lost the attribution:
โ
(defun cm/clean-fonts() "Eliminate bold and underline fonts" (interactive) (mapc (lambda (face) (set-face-attribute face nil :weight 'normal :underline nil)) (face-list)))
Here's a method I use to disable bold and underline faces. I found it online years ago, and unfortunately lost the attribution:
โ