
21 Aug
2009
21 Aug
'09
6:11 a.m.
Raymond Toy <toy.raymond@gmail.com> writes:
XEmacs allows using a replacement function for font-lock (I use lazy-shot). Perhaps slime can hook into that by defining its own function that extends the region and calling the underlying font-lock function? I'll try to look into this...
I'd probably write a wrapper around `slime-search-suppressed-forms' which first calls `slime-extend-region-for-font-lock', and then moves point to the beginning of that region, and calls `slime-search-suppressed-forms' with the end as the limit. I'd hope that won't cause any problems, just be less efficient (it may do work twice, or thrice); so better take a glance at the font-lock sources first. -T.