[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 5c3ff1494b6: jit-lock-force-redisplay: Make it work
From: |
Dmitry Gutov |
Subject: |
master 5c3ff1494b6: jit-lock-force-redisplay: Make it work |
Date: |
Sat, 23 Dec 2023 15:54:35 -0500 (EST) |
branch: master
commit 5c3ff1494b69bf45b99125f2423174222badfa43
Author: Dmitry Gutov <dmitry@gutov.dev>
Commit: Dmitry Gutov <dmitry@gutov.dev>
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.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 5c3ff1494b6: jit-lock-force-redisplay: Make it work,
Dmitry Gutov <=