aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGerd Moellmann2000-05-29 15:48:14 +0000
committerGerd Moellmann2000-05-29 15:48:14 +0000
commit659451a2e976740eb9155cf7fde3a09669f033d6 (patch)
treec64447b8feb2bb0e80e26e0f6e514e678fcab70a
parent2d89215071c9b991d3db383504a7f23c74650ff1 (diff)
downloademacs-659451a2e976740eb9155cf7fde3a09669f033d6.tar.gz
emacs-659451a2e976740eb9155cf7fde3a09669f033d6.zip
(jit-lock-mode): Add after change function to local hook.
-rw-r--r--lisp/jit-lock.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/jit-lock.el b/lisp/jit-lock.el
index f44bc0e9f0d..8fb46da9657 100644
--- a/lisp/jit-lock.el
+++ b/lisp/jit-lock.el
@@ -217,7 +217,7 @@ the variable `jit-lock-stealth-nice' and `jit-lock-stealth-lines'."
217 (when (or (eq jit-lock-defer-contextually 'always) 217 (when (or (eq jit-lock-defer-contextually 'always)
218 (and (not (eq jit-lock-defer-contextually 'never)) 218 (and (not (eq jit-lock-defer-contextually 'never))
219 (null font-lock-keywords-only))) 219 (null font-lock-keywords-only)))
220 (add-hook 'after-change-functions 'jit-lock-after-change)) 220 (add-hook 'after-change-functions 'jit-lock-after-change nil t))
221 221
222 ;; Install the fontification hook. 222 ;; Install the fontification hook.
223 (add-hook 'fontification-functions 'jit-lock-function)) 223 (add-hook 'fontification-functions 'jit-lock-function))