]> code.delx.au - gnu-emacs/commit
Respect fontification region calculated by major mode. Fixes bug #22316.
authorAlan Mackenzie <acm@muc.de>
Fri, 8 Jan 2016 14:41:58 +0000 (14:41 +0000)
committerAlan Mackenzie <acm@muc.de>
Fri, 8 Jan 2016 14:41:58 +0000 (14:41 +0000)
commit8be046f453b3f74eaf41154f28b85d45d2cc3844
treee633c33d6c6877d21a42690b8443c971ca3022a8
parent4b37cba3d55abf6788768c6017019d1039aa6c2e
Respect fontification region calculated by major mode.  Fixes bug #22316.

* lisp/font-lock.el (font-lock-extend-jit-lock-region-after-change): when a
fontification region has been calculated by a function on
font-lock-extend-after-change-region-function use this region rather than
changing the end position to somewhere else.
lisp/font-lock.el