From 04215e616f58ea9849bfc4e3dce08eee2debd301 Mon Sep 17 00:00:00 2001 From: Lassi Kortela Date: Sat, 21 Oct 2023 13:10:50 +0300 Subject: [PATCH] Recognize backslash in `dns-mode` quoted values * lisp/textmodes/dns-mode.el (dns-mode-syntax-table): Recognize backslash as an escape character. (Bug#66660) (cherry picked from commit e6f05e189db73a0f0b29f987381ffef61a409232) --- lisp/textmodes/dns-mode.el | 1 + 1 file changed, 1 insertion(+) diff --git a/lisp/textmodes/dns-mode.el b/lisp/textmodes/dns-mode.el index 1b5f0c1d94b..bc3fa8d8e3a 100644 --- a/lisp/textmodes/dns-mode.el +++ b/lisp/textmodes/dns-mode.el @@ -132,6 +132,7 @@ manually with \\[dns-mode-soa-increment-serial]." (modify-syntax-entry ?\; "< " table) (modify-syntax-entry ?\n "> " table) (modify-syntax-entry ?\" "\"" table) + (modify-syntax-entry ?\\ "\\" table) table) "Syntax table in use in DNS master file buffers.") -- 2.39.2