* bug#74688: 30.0.92; [PATCH] php-ts-mode: Removed unnecessary function call to treesit-font-lock-recompute-features.
@ 2024-12-04 14:27 Vincenzo Pupillo
2024-12-07 13:18 ` Eli Zaretskii
0 siblings, 1 reply; 2+ messages in thread
From: Vincenzo Pupillo @ 2024-12-04 14:27 UTC (permalink / raw)
To: 74688
[-- Attachment #1: Type: text/plain, Size: 119 bytes --]
Ciao,
Hi, the attached patch removes an unnecessary call to
treesit-font-lock-recompute-features.
Thank you.
Vincenzo
[-- Attachment #2: 0001-Removed-unnecessary-function-call.patch --]
[-- Type: text/x-patch, Size: 903 bytes --]
From dc506f1cf2b181153f7fa8dc9e1fbdfb478366b8 Mon Sep 17 00:00:00 2001
From: Vincenzo Pupillo <vincenzo.pupillo@unimi.it>
Date: Wed, 4 Dec 2024 15:06:54 +0100
Subject: [PATCH] Removed unnecessary function call.
* lisp/progmodes/php-ts-mode.el (php-ts-mode): Removed unnecessary
function call 'treesit-font-lock-recompute-features'.
---
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 6052c79ccf3..975d6c89be5 100644
--- a/lisp/progmodes/php-ts-mode.el
+++ b/lisp/progmodes/php-ts-mode.el
@@ -1557,7 +1557,6 @@ php-ts-mode
;; 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.47.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-12-07 13:18 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-04 14:27 bug#74688: 30.0.92; [PATCH] php-ts-mode: Removed unnecessary function call to treesit-font-lock-recompute-features Vincenzo Pupillo
2024-12-07 13:18 ` Eli Zaretskii
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.