Trying to minimize usage of both to make my theme cleaner, but struggling to change it everywhere in each font face

Is there any easier solution?

Doom Emacs 28.2

  • cmcmahan61@alien.topB
    link
    fedilink
    English
    arrow-up
    1
    ·
    11 months ago

    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)))