diff options
| author | Vincenzo Pupillo | 2024-12-04 15:06:54 +0100 |
|---|---|---|
| committer | Eli Zaretskii | 2024-12-07 15:15:41 +0200 |
| commit | c87c5b95e1309b59b6cb07d07a20234a74a73f35 (patch) | |
| tree | 32d0befa2c2ceffb61d261f2778277a40af2acf2 | |
| parent | e7fdf6b68ce7aeba9f3b503a1c5b8bf1a61800c1 (diff) | |
| download | emacs-c87c5b95e1309b59b6cb07d07a20234a74a73f35.tar.gz emacs-c87c5b95e1309b59b6cb07d07a20234a74a73f35.zip | |
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)
| -rw-r--r-- | lisp/progmodes/php-ts-mode.el | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lisp/progmodes/php-ts-mode.el b/lisp/progmodes/php-ts-mode.el index b6fe17f7d41..10f290d24ea 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'." | |||
| 1557 | 1557 | ||
| 1558 | ;; should be the last one | 1558 | ;; should be the last one |
| 1559 | (setq-local treesit-primary-parser (treesit-parser-create 'php)) | 1559 | (setq-local treesit-primary-parser (treesit-parser-create 'php)) |
| 1560 | (treesit-font-lock-recompute-features) | ||
| 1561 | (treesit-major-mode-setup) | 1560 | (treesit-major-mode-setup) |
| 1562 | (add-hook 'flymake-diagnostic-functions #'php-ts-mode-flymake-php nil 'local))) | 1561 | (add-hook 'flymake-diagnostic-functions #'php-ts-mode-flymake-php nil 'local))) |
| 1563 | 1562 | ||