emacs-devel
[Top][All Lists]
Advanced

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

Re: `font-lock-extend-region-functions' vs. `font-lock-extend-after-chan


From: Stefan Monnier
Subject: Re: `font-lock-extend-region-functions' vs. `font-lock-extend-after-change-region-function'
Date: Wed, 29 Apr 2009 16:53:54 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.92 (gnu/linux)

>> The way I imagine fixing it is by changing jit-lock-functions such that
>> the functions on that hook (e.g. font-lock-fontify-region) would return
>> the new boundaries they used (or nil if they kept the boundaries passed
>> by jit-lock).

> Would that degrade gracefully in the presence of old jit-lock-functions?

That would be the intention, of course (I was thinking of accepting any
return value but recognizing a return value of (boundaries START
END) as indication that it uses the new calling convention).


        Stefan




reply via email to

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