[Top][All Lists]

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

Re: Turning off colorization

From: Eli Zaretskii
Subject: Re: Turning off colorization
Date: Wed, 05 Nov 2014 19:30:40 +0200

> From: Lars Magne Ingebrigtsen <address@hidden>
> Date: Wed, 05 Nov 2014 18:06:56 +0100
> Cc: address@hidden
> Andreas Schwab <address@hidden> writes:
> > It should be just a matter of making display-color-p return nil.
> I tried
> (defun display-color-p (&optional display) nil)
> and things got less colourful, but putting a `face "red"' on a region
> still made the region red.

display-color-p is not a magic wand: it only causes defface's that
defined a setting for a non-color display to use that setting.  If you
yourself specify a color, there's no magic in Emacs to turn it to
something else.

IOW, if it hurts, don't do that.

reply via email to

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