emacs-devel
[Top][All Lists]
Advanced

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

Re: Colour selection in shr


From: Yoni Rabkin
Subject: Re: Colour selection in shr
Date: Tue, 04 Nov 2014 19:53:39 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux)

Stefan Monnier <address@hidden> writes:

>> 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.

Doesn't that mean I have to set font-lock-mode to nil in each buffer
which uses shr/eww?

I thought that font-lock-mode is buffer local, and what I'm looking for
is to disable colorization in any future use of shr/eww in my emacs
instance.

-- 
   "Cut your own wood and it will warm you twice"



reply via email to

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