Let jit-lock know the result of font-lock-extend-region-functions.
commitbc9a6fcd29cd2e35a34e42f6e8b9492c98c1560f
authorStefan Monnier <monnier@iro.umontreal.ca>
Tue, 31 Mar 2015 01:33:20 +0000 (30 21:33 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Tue, 31 Mar 2015 01:33:20 +0000 (30 21:33 -0400)
treee44d050c05b9104e1259aa73d7acf9dde443f19a
parent2e4b0c98a77657e787e04ae680403b187b271c21
Let jit-lock know the result of font-lock-extend-region-functions.

* lisp/jit-lock.el (jit-lock--run-functions): New function.
(jit-lock-fontify-now): Use it.  Handle fontification bounds more
precisely in case the backend functions fontify more than requested.
Don't round up to whole lines since that shouldn't be needed
any more.
* lisp/font-lock.el (font-lock-fontify-region-function): Adjust docstring.
(font-lock-inhibit-thing-lock): Make obsolete.
(font-lock-default-fontify-region): Return the bounds actually used.

* lisp/emacs-lisp/eieio-base.el (eieio-persistent-validate/fix-slot-value):
Fix compilation error.
lisp/ChangeLog
lisp/emacs-lisp/eieio-base.el
lisp/font-lock.el
lisp/jit-lock.el