From 5c3ff1494b69bf45b99125f2423174222badfa43 Mon Sep 17 00:00:00 2001 From: Dmitry Gutov Date: Sat, 23 Dec 2023 22:53:35 +0200 Subject: [PATCH] jit-lock-force-redisplay: Make it work * lisp/jit-lock.el (jit-lock-force-redisplay): Make sure the buffer change is really performed (bug#66732). --- lisp/jit-lock.el | 1 + 1 file changed, 1 insertion(+) diff --git a/lisp/jit-lock.el b/lisp/jit-lock.el index d0522d6a791..70277545495 100644 --- a/lisp/jit-lock.el +++ b/lisp/jit-lock.el @@ -500,6 +500,7 @@ This applies to the buffer associated with marker START." (setq start (point-min) end (max start end))) ;; Don't cause refontification (it's already been done), but just do ;; some random buffer change, so as to force redisplay. + (put-text-property start end 'fontified nil) (put-text-property start end 'fontified t))))) ;;; Stealth fontification. -- 2.39.2