help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem with CC mode hooks and font-locking


From: Stefan Monnier
Subject: Re: Problem with CC mode hooks and font-locking
Date: Mon, 26 Nov 2018 21:38:27 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

> My first attempt was to place  the line
> (global-font-lock-mode nil)
> in my .emacs file.  That did not work.

Of course not: a nil argument turns it on, as the docstring says.  Try

    (global-font-lock-mode -1)

But personally I don't like colors either but kept font-lock:
I simply changed the faces to use bold/grey/italics instead of colors.


        Stefan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]