Stephen J. Turnbull wrote:
Raymond Toy writes:
> For emacs, slime has a hook to extend the font-lock region.
> Is it possible to do something similar with xemacs?
If the name of the hook variable starts with jit-lock-, probably no.
Not yet. jit-lock is a complete rewrite of the internals of font-lock
which hasn't been ported yet.
Slime adds a function to the hook font-lock-extend-region-functions.
There is a global hook, font-lock-after-fontify-buffer-hook. There
may also be specific hooks for the lazy-* libraries, but I know very
little about them.
lazy-shot has a lot of hair, maybe there's something in there. But
it's not a hook, lazy-shot defines no hooks.
I obviously don't know how this all works, but looking at the comments
before font-lock-fontify-buffer in font-lock.el seems to indicate I
could change change font-lock-fontify-region-function to some new
function that would extend the region as needed and then call the old
Does that make sense?
XEmacs-Beta mailing list