X-Git-Url: http://cgit.sxemacs.org/?a=blobdiff_plain;f=lisp%2Fdns-mode.el;h=45ebc07d8bb1c8185e3df6ca773fc3f1411fd059;hb=ab79c967548f6323a2b8a527ee40644f4630649b;hp=beab676e307cb78973027e91998e28cfc31c36a7;hpb=80ab25bded9288034e5186ce67dc9ad665411fa5;p=gnus diff --git a/lisp/dns-mode.el b/lisp/dns-mode.el index beab676e3..45ebc07d8 100644 --- a/lisp/dns-mode.el +++ b/lisp/dns-mode.el @@ -1,10 +1,10 @@ ;;; dns-mode.el --- a mode for viewing/editing Domain Name System master files -;; Copyright (C) 2000, 2001, 2004, 2005, 2006, 2007, 2008, 2009 +;; Copyright (C) 2000, 2001, 2004, 2005, 2006, 2007, 2008, 2009, 2010 ;; Free Software Foundation, Inc. ;; Author: Simon Josefsson -;; Keywords: DNS master zone file SOA +;; Keywords: DNS master zone file SOA comm ;; This file is part of GNU Emacs. @@ -151,6 +151,7 @@ Turning on DNS mode runs `dns-mode-hook'." (easy-menu-add dns-mode-menu dns-mode-map)) ;;;###autoload (defalias 'zone-mode 'dns-mode) +;;;###autoload (add-to-list 'auto-mode-alist (purecopy '("\\.zone\\'" . zone-mode))) ;; Tools. @@ -222,9 +223,8 @@ This function is run from `before-save-hook'." ;; We return nil in case this is used in write-contents-functions. nil))) -;;;###autoload(add-to-list 'auto-mode-alist '("\\.soa\\'" . dns-mode)) +;;;###autoload(add-to-list 'auto-mode-alist (purecopy '("\\.soa\\'" . dns-mode))) (provide 'dns-mode) -;; arch-tag: 6a179f0a-072f-49db-8b01-37b8f23998c0 ;;; dns-mode.el ends here