this post was submitted on 12 Oct 2023
1 points (100.0% liked)

Emacs

314 readers
2 users here now

A community for the timeless and infinitely powerful editor. Want to see what Emacs is capable of?!

Get Emacs

Rules

  1. Posts should be emacs related
  2. Be kind please
  3. Yes, we already know: Google results for "emacs" and "vi" link to each other. We good.

Emacs Resources

Emacs Tutorials

Useful Emacs configuration files and distributions

Quick pain-saver tip

founded 1 year ago
MODERATORS
 

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

you are viewing a single comment's thread
view the rest of the comments
[–] cmcmahan61@alien.top 1 points 1 year ago (1 children)

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)))
[–] Velnbur@alien.top 1 points 1 year ago

Wow, thank you, that worked!