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

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

Re: How to prevent font-lock (& jit-lock etc.) from refontifying?


From: Sacha Chua
Subject: Re: How to prevent font-lock (& jit-lock etc.) from refontifying?
Date: Wed, 13 Oct 2004 19:06:58 +0900
User-agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux)

"Drew Adams" <drew.adams@oracle.com> writes:

> In Emacs 21, suppose that I apply a face to certain spans of text. Maybe the
> buffer is already font-locked before doing this, maybe not. In either case,
> I want these spans of text to show the face I apply, overriding any
> font-lock highlighting that might be there.

One workaround would be to use overlays instead, as overlays override
font properties. Not the answer you're looking for, but might be
helpful...

-- 
Sacha Chua <sacha@free.net.ph> - open source geekette
interests: emacs, gnu/linux, making computer science education fun
wearable computing, personal information management
http://sacha.free.net.ph/ - PGP Key ID: 0xE7FDF77C





reply via email to

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