diff options
author | Dmitry Gutov <dmitry@gutov.dev> | 2023-12-23 22:53:35 +0200 |
---|---|---|
committer | Dmitry Gutov <dmitry@gutov.dev> | 2023-12-23 22:54:14 +0200 |
commit | 5c3ff1494b69bf45b99125f2423174222badfa43 (patch) | |
tree | 4f71b47b33274df9cb2b9c3c839fd6623fe958b9 /lisp/jit-lock.el | |
parent | 5fb9d6c5e72e8a21b8426a3fd5ec5c8f4679d8b6 (diff) | |
download | emacs-5c3ff1494b69bf45b99125f2423174222badfa43.tar.gz |
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).
Diffstat (limited to 'lisp/jit-lock.el')
-rw-r--r-- | lisp/jit-lock.el | 1 |
1 files changed, 1 insertions, 0 deletions
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. |