]> git.eshelyaron.com Git - emacs.git/commitdiff
Tweak dns-mode font-lock
authorPeder O. Klingenberg <peder@klingenberg.no>
Fri, 5 May 2017 18:03:04 +0000 (14:03 -0400)
committerGlenn Morris <rgm@gnu.org>
Fri, 5 May 2017 18:03:04 +0000 (14:03 -0400)
* lisp/textmodes/dns-mode.el (dns-mode-font-lock-keywords):
Highlight $TTL as a control entity.  (Bug#26780)

lisp/textmodes/dns-mode.el

index 02cb2a2876d6a5789106c7eaeba99b8f931c161c..01f509d9136aa926b0b2975fbf6f1ed8f789da97 100644 (file)
@@ -79,6 +79,7 @@
 (defcustom dns-mode-font-lock-keywords
   `(("^$ORIGIN" 0 ,dns-mode-control-entity-face)
     ("^$INCLUDE" 0 ,dns-mode-control-entity-face)
+    ("^$TTL" 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))