[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#14394: jit-lock-force-redisplay redefinition breaks jit fontificatio
From: |
Stefan Monnier |
Subject: |
bug#14394: jit-lock-force-redisplay redefinition breaks jit fontification in auctex |
Date: |
Tue, 14 May 2013 11:52:06 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
> Second, this breaks function font-latex-jit-lock-force-redisplay in
> auctex, which uses the old prototype. This is present in emacs and
> auctex from trunk. Is the prototype change really necessary? If no, this
> is a bug for emacs, if yes, this is a bug for auctex. In doubt, I'm
> submitting the report in both.
The answer is that font-latex should not modify
font-lock-fontify-region-function and should instead use
font-lock-extend-region-functions (it's OK to do what it does when
running on older Emacsen which do not have
font-lock-extend-region-functions, of course).
Stefan