How do I stop emacs from colouring the text of the file I am editing? I want everything just in plain white. I know that I can load themes, but it's not obvious which theme does what. Can I just disable all the colouring so that when I start emacs up, all the text is always white?

  • I have now done this. Jan 7 '14 at 18:01
  • The syntax highlighting depends on the major mode. text-mode should not involve any syntax highlighting.
    – jordanm
    Jan 7 '14 at 18:12
  • 1
    Thanks - important for colorblind folks like me for whom the new colors and my background color look nearly identical....
    – nealmcb
    Nov 8 '20 at 18:53

Colours are provided by the font-lock minor mode.

To disable colouring in your current buffer, toggle font-lock-mode off with this command:

M-x font-lock-mode

To disable font-lock-mode permanently, add to your init file (~/.emacs):

(global-font-lock-mode 0)

More info is available under Font-Lock in the Gnu Emacs Manual

  • 1
    Thanks a lot - what a relief not to have to see those colours again! Jan 7 '14 at 21:29

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.