Commit 659451a2 authored by Gerd Moellmann's avatar Gerd Moellmann
Browse files

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

parent 2d892150
......@@ -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))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment