From b73539832d9c4e802925cb8f261a13473da383b3 Mon Sep 17 00:00:00 2001 From: Yuan Fu Date: Sun, 29 Jan 2023 00:30:53 -0800 Subject: [PATCH] ; 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 -- 2.39.2