How to stop emacs from colouring the text of the file I am editing

emacssyntax highlighting

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?

Best Answer

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