emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] master 1c9c02f: Tweak dns-mode font-lock


From: Glenn Morris
Subject: [Emacs-diffs] master 1c9c02f: Tweak dns-mode font-lock
Date: Fri, 5 May 2017 14:03:20 -0400 (EDT)

branch: master
commit 1c9c02f51cc24954536e3e2536c5b2c1d571e3df
Author: Peder O. Klingenberg <address@hidden>
Commit: Glenn Morris <address@hidden>

    Tweak dns-mode font-lock
    
    * lisp/textmodes/dns-mode.el (dns-mode-font-lock-keywords):
    Highlight $TTL as a control entity.  (Bug#26780)
---
 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 02cb2a2..01f509d 100644
--- a/lisp/textmodes/dns-mode.el
+++ b/lisp/textmodes/dns-mode.el
@@ -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))



reply via email to

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