bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#55944: [PATCH] Fix dns-mode-font-lock-keywords


From: Lassi Kortela
Subject: bug#55944: [PATCH] Fix dns-mode-font-lock-keywords
Date: Mon, 13 Jun 2022 13:58:08 +0300
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.10.0

Attached is a simple fix to the syntax highlighting of dns-mode.

For example, IN and SOA are reserved words. Instead of highlighting only the full words IN and SOA, dns-mode would highlight any word that has IN or SOA as a substring. This patch fixes the use of regexp-opt such that reserved words are only highlighted when they are full words.

Attachment: dns-mode-font-lock-keywords.patch
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]