|
From: | martin rudalics |
Subject: | Re: flypell and check-comments. |
Date: | Wed, 07 Mar 2007 22:55:02 +0100 |
User-agent: | Mozilla Thunderbird 1.0 (Windows/20041206) |
> Actually it should be neither: > - font-lock-fontify-region will unnecessarily > refontify the region if it was already fontified. That was my concern here ... > - jit-lock-fontify-now is wrong if the user is not using jit-lock. ... `occur-mode' has ... (if (fboundp 'jit-lock-fontify-now) (jit-lock-fontify-now beg end))) > - if the user decided not to use font-lock... ... it would be best (and cheaper) to use `syntax-ppss' and `parse-partial-sexp'.
[Prev in Thread] | Current Thread | [Next in Thread] |