summaryrefslogtreecommitdiff
path: root/lisp/font-lock.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/font-lock.el')
-rw-r--r--lisp/font-lock.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/font-lock.el b/lisp/font-lock.el
index d0f7096ab8b..7ff4e606fa6 100644
--- a/lisp/font-lock.el
+++ b/lisp/font-lock.el
@@ -1501,7 +1501,7 @@ see `font-lock-syntactic-keywords'."
;; Flush the syntax-cache. I believe this is not necessary for
;; font-lock's use of syntax-ppss, but I'm not 100% sure and it can
;; still be necessary for other users of syntax-ppss anyway.
- (syntax-ppss-after-change-function start)
+ (syntax-ppss-flush-cache start)
(cond
((not override)
;; Cannot override existing fontification.