summaryrefslogtreecommitdiff
path: root/lisp/textmodes/dns-mode.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/textmodes/dns-mode.el')
-rw-r--r--lisp/textmodes/dns-mode.el10
1 files changed, 5 insertions, 5 deletions
diff --git a/lisp/textmodes/dns-mode.el b/lisp/textmodes/dns-mode.el
index 712955e84de..dd28cb8f9a4 100644
--- a/lisp/textmodes/dns-mode.el
+++ b/lisp/textmodes/dns-mode.el
@@ -178,11 +178,11 @@ variables for customizing indentation. It has its own abbrev
table and its own syntax table.
Turning on DNS mode runs `dns-mode-hook'."
- (set (make-local-variable 'comment-start) ";")
- (set (make-local-variable 'comment-end) "")
- (set (make-local-variable 'comment-start-skip) ";+ *")
- (set (make-local-variable 'font-lock-defaults)
- '(dns-mode-font-lock-keywords nil nil ((?_ . "w"))))
+ (setq-local comment-start ";")
+ (setq-local comment-end "")
+ (setq-local comment-start-skip ";+ *")
+ (setq-local font-lock-defaults
+ '(dns-mode-font-lock-keywords nil nil ((?_ . "w"))))
(add-hook 'before-save-hook 'dns-mode-soa-maybe-increment-serial
nil t))