branch: externals/indent-bars
commit 075e1b3ccc20191e315f9fd47883b174ac6f763a
Author: JD Smith <[email protected]>
Commit: JD Smith <[email protected]>
ts: fix font-lock-fontify-buffer-function save logic
---
indent-bars-ts.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/indent-bars-ts.el b/indent-bars-ts.el
index 13433de0aa..5ada80c6b8 100644
--- a/indent-bars-ts.el
+++ b/indent-bars-ts.el
@@ -438,7 +438,7 @@ performed."
This sets up jit-lock and font-lock to record our special
`indent-bars-font-lock-pending' property on text it is updating
due to edits or contextual fontification."
- (unless (eq indent-bars-ts--orig-fontify-buffer
#'indent-bars-ts--fontify-buffer)
+ (unless (eq font-lock-fontify-buffer-function
'indent-bars-ts--fontify-buffer)
(setq-local indent-bars-ts--orig-fontify-buffer
font-lock-fontify-buffer-function))
(setq-local indent-bars--inhibit-font-lock
#'indent-bars-ts--font-lock-inhibit
font-lock-fontify-buffer-function
#'indent-bars-ts--fontify-buffer)