From: Eli Zaretskii Date: Sat, 17 Aug 2024 09:29:31 +0000 (+0300) Subject: Fix 'forward-comment' in 'toml-ts-mode' X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=d7e16050f88c486186039547a04d5aa7711e2e59;p=emacs.git Fix 'forward-comment' in 'toml-ts-mode' * 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) --- 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'.")