From: Vincenzo Pupillo <v.pupillo@gmail.com>
To: 74688@debbugs.gnu.org
Subject: bug#74688: 30.0.92; [PATCH] php-ts-mode: Removed unnecessary function call to treesit-font-lock-recompute-features.
Date: Wed, 04 Dec 2024 15:27:30 +0100 [thread overview]
Message-ID: <2830614.fDdHjke4Dd@3-191.divsi.unimi.it> (raw)
[-- 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
next reply other threads:[~2024-12-04 14:27 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-04 14:27 Vincenzo Pupillo [this message]
2024-12-07 13:18 ` bug#74688: 30.0.92; [PATCH] php-ts-mode: Removed unnecessary function call to treesit-font-lock-recompute-features Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2830614.fDdHjke4Dd@3-191.divsi.unimi.it \
--to=v.pupillo@gmail.com \
--cc=74688@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.