I hate bold text while coding. Is it possible to disable bold text (and underline) in every single file and emacs's interface?
You can use the menu bar. Go to Options -> Set Default Font... . After you choose a font, don't forget to press Options -> Save Options —otherwise your new font will not be saved after you close Emacs.
You can use the CSS declaration font-weight: bold; .
bold. Font weight progression: 100 (extra light) - 200 - 300 - 400 (normal) - 500 - 600 - 700 (bold) - 800 - 900.
font-weight: lighter; - uses a weight of the font that is less than "normal" if the font contains this weight. Fallback is the use of the "normal" weight. font-weight: inherit; -- Inherits the weight of the parent element. font-weight: initial; -- uses the default weight of the font.
The easiest way is probably
(set-face-bold-p 'bold nil)
Another possibility, which also deals with underlines, would be to evaluate the following snippet in a running Emacs session:
(mapc
(lambda (face)
(set-face-attribute face nil :weight 'normal :underline nil))
(face-list))
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With