]> git.eshelyaron.com Git - emacs.git/commitdiff
Remove unnecessary function call from 'php-ts-mode'
authorVincenzo Pupillo <vincenzo.pupillo@unimi.it>
Wed, 4 Dec 2024 14:06:54 +0000 (15:06 +0100)
committerEshel Yaron <me@eshelyaron.com>
Mon, 9 Dec 2024 12:47:05 +0000 (13:47 +0100)
* 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

index 8a9f2a5ebe0b1ec8433b8d40b19f615bdd87e2c4..055e961f912de0471b0c1a8eeaf3053bd8fdd210 100644 (file)
@@ -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)))