diff options
| author | Vincenzo Pupillo | 2024-12-04 15:06:54 +0100 |
|---|---|---|
| committer | Eli Zaretskii | 2024-12-07 15:17:35 +0200 |
| commit | 84fc77f34f0c942860c2fd4d3080504e9509dd2b (patch) | |
| tree | b699963449e2bc1e16731948839605738856bc07 | |
| parent | 3cf177442ccd08f7b92b3e08c41899ba34699355 (diff) | |
| download | emacs-84fc77f34f0c942860c2fd4d3080504e9509dd2b.tar.gz emacs-84fc77f34f0c942860c2fd4d3080504e9509dd2b.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)
(cherry picked from commit c87c5b95e1309b59b6cb07d07a20234a74a73f35)
| -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 6052c79ccf3..975d6c89be5 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 | ||