projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3cf1774
)
Remove unnecessary function call from 'php-ts-mode'
author
Vincenzo Pupillo
<vincenzo.pupillo@unimi.it>
Wed, 4 Dec 2024 14:06:54 +0000
(15:06 +0100)
committer
Eli Zaretskii
<eliz@gnu.org>
Sat, 7 Dec 2024 13:17:35 +0000
(15:17 +0200)
* 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
patch
|
blob
|
history
diff --git
a/lisp/progmodes/php-ts-mode.el
b/lisp/progmodes/php-ts-mode.el
index 6052c79ccf327abefbfb1d6cfc6fb60303eed166..975d6c89be5c1de344d3e6609ff3673e34ad0c10 100644
(file)
--- 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)))