From 9d2bd82eb5dd86a42391f4c2f32a5f8745250ea8 Mon Sep 17 00:00:00 2001 From: Vincenzo Pupillo Date: Wed, 4 Dec 2024 15:06:54 +0100 Subject: [PATCH] Remove unnecessary function call from 'php-ts-mode' * lisp/progmodes/php-ts-mode.el (php-ts-mode): Remove unnecessary function call 'treesit-font-lock-recompute-features'. (Bug#74688) (cherry picked from commit c87c5b95e1309b59b6cb07d07a20234a74a73f35) --- lisp/progmodes/php-ts-mode.el | 1 - 1 file changed, 1 deletion(-) diff --git a/lisp/progmodes/php-ts-mode.el b/lisp/progmodes/php-ts-mode.el index 8a9f2a5ebe0..055e961f912 100644 --- a/lisp/progmodes/php-ts-mode.el +++ b/lisp/progmodes/php-ts-mode.el @@ -1557,7 +1557,6 @@ Depends on `c-ts-common-comment-setup'." ;; should be the last one (setq-local treesit-primary-parser (treesit-parser-create 'php)) - (treesit-font-lock-recompute-features) (treesit-major-mode-setup) (add-hook 'flymake-diagnostic-functions #'php-ts-mode-flymake-php nil 'local))) -- 2.39.2