Commit 954b58f0 authored by Lars Ingebrigtsen's avatar Lars Ingebrigtsen

Remove XEmacs compat code from dns-mode.el

* lisp/textmodes/dns-mode.el (dns-mode): Remove XEmacs compat code.
parent b67a6cb8
...@@ -180,9 +180,8 @@ Turning on DNS mode runs `dns-mode-hook'." ...@@ -180,9 +180,8 @@ Turning on DNS mode runs `dns-mode-hook'."
(set (make-local-variable 'comment-start) ";") (set (make-local-variable 'comment-start) ";")
(set (make-local-variable 'comment-end) "") (set (make-local-variable 'comment-end) "")
(set (make-local-variable 'comment-start-skip) ";+ *") (set (make-local-variable 'comment-start-skip) ";+ *")
(unless (featurep 'xemacs) (set (make-local-variable 'font-lock-defaults)
(set (make-local-variable 'font-lock-defaults) '(dns-mode-font-lock-keywords nil nil ((?_ . "w"))))
'(dns-mode-font-lock-keywords nil nil ((?_ . "w")))))
(add-hook 'before-save-hook 'dns-mode-soa-maybe-increment-serial (add-hook 'before-save-hook 'dns-mode-soa-maybe-increment-serial
nil t) nil t)
(easy-menu-add dns-mode-menu dns-mode-map)) (easy-menu-add dns-mode-menu dns-mode-map))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment