[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
emacs-29 b73539832d9 2/2: ; Remove treesit--font-lock-fast-mode-grace-co
From: |
Yuan Fu |
Subject: |
emacs-29 b73539832d9 2/2: ; Remove treesit--font-lock-fast-mode-grace-count |
Date: |
Sun, 29 Jan 2023 03:32:22 -0500 (EST) |
branch: emacs-29
commit b73539832d9c4e802925cb8f261a13473da383b3
Author: Yuan Fu <casouri@gmail.com>
Commit: Yuan Fu <casouri@gmail.com>
; Remove treesit--font-lock-fast-mode-grace-count
* lisp/treesit.el:
(treesit--font-lock-fast-mode-grace-count): Remove. Should've been
removed in the last change.
---
lisp/treesit.el | 8 --------
1 file changed, 8 deletions(-)
diff --git a/lisp/treesit.el b/lisp/treesit.el
index f4976502fc1..5fb6a2eef6e 100644
--- a/lisp/treesit.el
+++ b/lisp/treesit.el
@@ -927,14 +927,6 @@ This is not a general optimization and should be RARELY
needed!
See comments in `treesit-font-lock-fontify-region' for more
detail.")
-(defvar-local treesit--font-lock-fast-mode-grace-count 5
- "Grace counts before we turn on the fast mode.
-
-When query takes abnormally long time to execute, we turn on the
-\"fast mode\", but just to be on the safe side, we only turn on
-the fast mode after this number of offenses. See bug#60691,
-bug#60223.")
-
;; Some details worth explaining:
;;
;; 1. When we apply face to a node, we clip the face into the