unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#60086: 30.0.50; [PATCH]: Add this keyword to java-ts-mode
@ 2022-12-15 10:50 Theodor Thornhill via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2022-12-16  1:10 ` Yuan Fu
  0 siblings, 1 reply; 2+ messages in thread
From: Theodor Thornhill via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2022-12-15 10:50 UTC (permalink / raw)
  To: 60086; +Cc: casouri

[-- Attachment #1: Type: text/plain, Size: 49 bytes --]


Hi Yuan,

Will you install this?

Thanks,
Theo


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-Add-this-keyword-to-java-ts-mode.patch --]
[-- Type: text/x-diff, Size: 1050 bytes --]

From 7eabfe6a71802ae971378fd3f54f822276460b23 Mon Sep 17 00:00:00 2001
From: Theodor Thornhill <theo@thornhill.no>
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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#60086: 30.0.50; [PATCH]: Add this keyword to java-ts-mode
  2022-12-15 10:50 bug#60086: 30.0.50; [PATCH]: Add this keyword to java-ts-mode Theodor Thornhill via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2022-12-16  1:10 ` Yuan Fu
  0 siblings, 0 replies; 2+ messages in thread
From: Yuan Fu @ 2022-12-16  1:10 UTC (permalink / raw)
  To: Theodor Thornhill; +Cc: 60086-done


Theodor Thornhill <theo@thornhill.no> writes:

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

Applied, thanks!

Yuan





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-12-16  1:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-15 10:50 bug#60086: 30.0.50; [PATCH]: Add this keyword to java-ts-mode Theodor Thornhill via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-12-16  1:10 ` Yuan Fu

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).