[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to kill all colors in all modes in emacs?
From: |
Stephen Berman |
Subject: |
Re: How to kill all colors in all modes in emacs? |
Date: |
Fri, 14 Sep 2007 14:41:56 +0200 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux) |
On Fri, 14 Sep 2007 14:20:57 +0200 GianUberto.Lauri@eng.it (Gian Uberto Lauri)
wrote:
>>>>>> "h" == hvaisane <hvaisane@cc.joensuu.fi> writes:
>
> h> How can I kill all colors in all modes so that the text is always
> h> black and the background is always white?
>
> h> No syntax highlighting in different modes etc.
>
> Hello!
>
> Putting (global-font-lock-mode nil) in your .emacs file should do what
> you need.
This doesn't eliminate all faces, e.g., Customize and Gnus buffers are
still fontified. To completely eliminate defined faces do:
M-: (mapc #'face-spec-reset-face (face-list))
But this only works for loaded libraries, so you have to invoke it
after loading e.g. Customize, Gnus, etc.
Steve Berman