From d7e16050f88c486186039547a04d5aa7711e2e59 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sat, 17 Aug 2024 12:29:31 +0300 Subject: [PATCH] Fix 'forward-comment' in 'toml-ts-mode' MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit * lisp/textmodes/toml-ts-mode.el (toml-ts-mode--syntax-table): Fix syntax of newline. Patch from Jostein Kjønigsen . (Bug#72489) (cherry picked from commit 5c1bd991396ff92cf0b81996f63c378c115f5b86) --- lisp/textmodes/toml-ts-mode.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/textmodes/toml-ts-mode.el b/lisp/textmodes/toml-ts-mode.el index 1b621032f8a..3c4533a7fea 100644 --- a/lisp/textmodes/toml-ts-mode.el +++ b/lisp/textmodes/toml-ts-mode.el @@ -50,7 +50,7 @@ (modify-syntax-entry ?= "." table) (modify-syntax-entry ?\' "\"" table) (modify-syntax-entry ?# "<" table) - (modify-syntax-entry ?\n "> b" table) + (modify-syntax-entry ?\n ">" table) (modify-syntax-entry ?\^m "> b" table) table) "Syntax table for `toml-ts-mode'.") -- 2.39.2