Subject: bug#60086: closed (Re: bug#60086: 30.0.50; [PATCH]: Add this keyword to java-ts-mode)

From: [email-masked] (GNU bug Tracking System)
Date: Fri, 16 Dec 2022 01:11:02 +0000

Your bug report

#60086: 30.0.50; [PATCH]: Add this keyword to java-ts-mode

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
60086: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=60086
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#60086: 30.0.50; [PATCH]: Add this keyword to java-ts-mode
From: Yuan Fu <[email-masked]>
To: Theodor Thornhill <[email-masked]>
Cc: [email-masked]
Date: Thu, 15 Dec 2022 17:10:26 -0800
List-Id: <debbugs-submit.debbugs.gnu.org>

Theodor Thornhill <[email-masked]> writes:

> Hi Yuan,
> Will you install this?
> Thanks,
> Theo

Applied, thanks!

Yuan

Subject: 30.0.50; [PATCH]: Add this keyword to java-ts-mode
From: Theodor Thornhill <[email-masked]>
To: [email-masked]
Date: Thu, 15 Dec 2022 11:50:30 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

Hi Yuan,

Will you install this?

Thanks,
Theo

>From 7eabfe6a71802ae971378fd3f54f822276460b23 Mon Sep 17 00:00:00 2001
From: Theodor Thornhill <[email-masked]>
Date: Thu, 15 Dec 2022 11:48:32 +0100
Subject: [PATCH] Add this keyword to java-ts-mode

* lisp/progmodes/java-ts-mode.el
(java-ts-mode--font-lock-settings): Add the node to the keyword
feature.
---
 lisp/progmodes/java-ts-mode.el | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/lisp/progmodes/java-ts-mode.el b/lisp/progmodes/java-ts-mode.el
index ac591a0859..559a4efef2 100644
--- a/lisp/progmodes/java-ts-mode.el
+++ b/lisp/progmodes/java-ts-mode.el
@@ -144,9 +144,10 @@ java-ts-mode--font-lock-settings
    :language 'java
    :override t
    :feature 'keyword
-   `([,@java-ts-mode--keywords] @font-lock-keyword-face
-     (labeled_statement
-      (identifier) @font-lock-keyword-face))
+   `([,@java-ts-mode--keywords
+      (this)] @font-lock-keyword-face
+      (labeled_statement
+       (identifier) @font-lock-keyword-face))
    :language 'java
    :override t
    :feature 'operator
-- 
2.34.1