summaryrefslogtreecommitdiff
path: root/lisp/textmodes/dns-mode.el
diff options
context:
space:
mode:
authorLassi Kortela <lassi@lassi.io>2023-10-21 13:10:50 +0300
committerStefan Kangas <stefankangas@gmail.com>2023-10-24 12:59:52 +0200
commit04215e616f58ea9849bfc4e3dce08eee2debd301 (patch)
tree267b14de9ce7be58aa8bbb2c6dc1e01b26c916ec /lisp/textmodes/dns-mode.el
parent6629e861b355366ff9d258eb02c184d219a932b8 (diff)
downloademacs-04215e616f58ea9849bfc4e3dce08eee2debd301.tar.gz
emacs-04215e616f58ea9849bfc4e3dce08eee2debd301.tar.bz2
emacs-04215e616f58ea9849bfc4e3dce08eee2debd301.zip
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)
Diffstat (limited to 'lisp/textmodes/dns-mode.el')
-rw-r--r--lisp/textmodes/dns-mode.el1
1 files changed, 1 insertions, 0 deletions
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.")