(font-lock-mode): Put our function at the end of after-change-functions.
authorRichard M. Stallman <rms@gnu.org>
Tue, 11 Dec 2001 06:05:12 +0000 (06:05 +0000)
committerRichard M. Stallman <rms@gnu.org>
Tue, 11 Dec 2001 06:05:12 +0000 (06:05 +0000)
lisp/font-lock.el

index 7019c57..03aee2a 100644 (file)
@@ -755,7 +755,7 @@ buffer local value for `font-lock-defaults', via its mode hook."
 
   ;; Turn on Font Lock mode.
   (when font-lock-mode
-    (add-hook 'after-change-functions 'font-lock-after-change-function nil t)
+    (add-hook 'after-change-functions 'font-lock-after-change-function t t)
     (font-lock-set-defaults)
     (font-lock-turn-on-thing-lock)
     ;; Fontify the buffer if we have to.