1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-30 12:21:25 -08:00

(jit-lock-mode): Add after change function to local hook.

This commit is contained in:
Gerd Moellmann 2000-05-29 15:48:14 +00:00
parent 2d89215071
commit 659451a2e9

View file

@ -217,7 +217,7 @@ the variable `jit-lock-stealth-nice' and `jit-lock-stealth-lines'."
(when (or (eq jit-lock-defer-contextually 'always)
(and (not (eq jit-lock-defer-contextually 'never))
(null font-lock-keywords-only)))
(add-hook 'after-change-functions 'jit-lock-after-change))
(add-hook 'after-change-functions 'jit-lock-after-change nil t))
;; Install the fontification hook.
(add-hook 'fontification-functions 'jit-lock-function))