emacs-devel
[Top][All Lists]
Advanced

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

Re: how to prevent font-lock from messing with a portion of text?


From: Lennart Borgman (gmail)
Subject: Re: how to prevent font-lock from messing with a portion of text?
Date: Mon, 26 Mar 2007 10:47:53 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.10) Gecko/20070221 Thunderbird/1.5.0.10 Mnenhy/0.7.5.666

Drew Adams wrote:
Don't you have to take care of font-lock-default-fontify-region too?

Not that I can see. Did you try it? It takes only a minute to try.


Sorry, I was a bit unclear. You can not be sure font-lock-default-fontify-region is called. That depends on the setting of font-lock-fontify-region-function. (And if this frame-work is used for the fontifying.)

I guess if it is then your method might work.




reply via email to

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