projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5fb9d6c
)
jit-lock-force-redisplay: Make it work
author
Dmitry Gutov
<dmitry@gutov.dev>
Sat, 23 Dec 2023 20:53:35 +0000
(22:53 +0200)
committer
Dmitry Gutov
<dmitry@gutov.dev>
Sat, 23 Dec 2023 20:54:14 +0000
(22:54 +0200)
* lisp/jit-lock.el (jit-lock-force-redisplay):
Make sure the buffer change is really performed (bug#66732).
lisp/jit-lock.el
patch
|
blob
|
history
diff --git
a/lisp/jit-lock.el
b/lisp/jit-lock.el
index d0522d6a791b335886e4d4c151fba625c3e00391..70277545495866f0a3363cdfbd6a51dd92b0b379 100644
(file)
--- 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)))))
\f
;;; Stealth fontification.