[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
emacs-29 faee7e1f1b: ; * lisp/treesit.el (treesit-font-lock-fontify-regi
From: |
Yuan Fu |
Subject: |
emacs-29 faee7e1f1b: ; * lisp/treesit.el (treesit-font-lock-fontify-region): Minor fix. |
Date: |
Wed, 18 Jan 2023 01:52:47 -0500 (EST) |
branch: emacs-29
commit faee7e1f1bd0167e455a0e1e5fe02e21d23fd77f
Author: Yuan Fu <casouri@gmail.com>
Commit: Yuan Fu <casouri@gmail.com>
; * lisp/treesit.el (treesit-font-lock-fontify-region): Minor fix.
---
lisp/treesit.el | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/lisp/treesit.el b/lisp/treesit.el
index 3dde304eb8..34d288226f 100644
--- a/lisp/treesit.el
+++ b/lisp/treesit.el
@@ -987,8 +987,7 @@ If LOUDLY is non-nil, display some debugging information."
(end-time (current-time)))
;; If for any query the query time is strangely long,
;; switch to fast mode (see comments above).
- (when (and (eq 'undecided treesit--font-lock-fast-mode)
- (> (time-to-seconds
+ (when (and (> (time-to-seconds
(time-subtract end-time start-time))
0.01))
(if (> treesit--font-lock-fast-mode-grace-count 0)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- emacs-29 faee7e1f1b: ; * lisp/treesit.el (treesit-font-lock-fontify-region): Minor fix.,
Yuan Fu <=