mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-16 17:24:23 +00:00
Match complete words in dns-mode
* lisp/textmodes/dns-mode.el (dns-mode-font-lock-keywords): Match complete words like SOA and not all words that contain the string SOA (bug#55944). Copyright-paperwork-exempt: yes
This commit is contained in:
parent
57cd069f73
commit
5f5617727d
1 changed files with 3 additions and 3 deletions
|
|
@ -110,11 +110,11 @@
|
|||
"26.1" 'set)
|
||||
|
||||
(defcustom dns-mode-font-lock-keywords
|
||||
`((,(concat "^\\$" (regexp-opt dns-mode-control-entities))
|
||||
`((,(concat "^\\$" (regexp-opt dns-mode-control-entities) "\\>")
|
||||
0 ,dns-mode-control-entity-face)
|
||||
("^\\$[a-z0-9A-Z]+" 0 ,dns-mode-bad-control-entity-face)
|
||||
(,(regexp-opt dns-mode-classes) 0 ,dns-mode-class-face)
|
||||
(,(regexp-opt dns-mode-types) 0 ,dns-mode-type-face))
|
||||
(,(regexp-opt dns-mode-classes 'words) 0 ,dns-mode-class-face)
|
||||
(,(regexp-opt dns-mode-types 'words) 0 ,dns-mode-type-face))
|
||||
"Font lock keywords used to highlight text in DNS master file mode."
|
||||
:version "26.1"
|
||||
:type 'sexp)
|
||||
|
|
|
|||
Loading…
Reference in a new issue