From: Yuan Fu Date: Sun, 29 Jan 2023 08:30:53 +0000 (-0800) Subject: ; Remove treesit--font-lock-fast-mode-grace-count X-Git-Tag: emacs-29.0.90~563 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=b73539832d9c4e802925cb8f261a13473da383b3;p=emacs.git ; 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. --- 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