emacs-devel
[Top][All Lists]
Advanced

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

Re: Colour selection in shr


From: Stefan Monnier
Subject: Re: Colour selection in shr
Date: Tue, 04 Nov 2014 13:18:53 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux)

> Again, I have no idea what you mean by that.  How would you use
> `font-lock-mode' to put colours on an HTML document based on CSS?

I'm not suggesting to use font-lock-keywords to put the colors.
I'm suggesting to use the `font-lock-mode' setting (a boolean variable)
to decide whether to do highlighting or not.

You could even do it dynamically/automatically by using the
`font-lock-face' instead of the `face' property.


        Stefan



reply via email to

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