X-Git-Url: http://cgit.sxemacs.org/?a=blobdiff_plain;f=lisp%2Fdns-mode.el;h=2c16b6fb388e49184379910f15466a4b8271c2b9;hb=24b976621c5ddd2e020a2b3a30b163b32f837890;hp=53bb72f8137a25f07ae99e026f835de9f5522b91;hpb=2629e60a5a7d8af33b75f5d3f5b0f22bb49d5344;p=gnus diff --git a/lisp/dns-mode.el b/lisp/dns-mode.el index 53bb72f81..2c16b6fb3 100644 --- a/lisp/dns-mode.el +++ b/lisp/dns-mode.el @@ -1,25 +1,25 @@ ;;; dns-mode.el --- a mode for viewing/editing Domain Name System master files -;; Copyright (c) 2000, 2001, 2003, 2004 Free Software Foundation, Inc. +;; Copyright (c) 2000, 2001, 2003, 2004, 2005 Free Software Foundation, Inc. ;; Author: Simon Josefsson ;; Keywords: DNS master zone file SOA -;; This file is not part of GNU Emacs. +;; This file is part of GNU Emacs. -;; This file is free software; you can redistribute it and/or modify -;; it under the terms of the GNU General Public License as published -;; by the Free Software Foundation; either version 2, or (at your -;; option) any later version. +;; GNU Emacs is free software; you can redistribute it and/or modify +;; it under the terms of the GNU General Public License as published by +;; the Free Software Foundation; either version 2, or (at your option) +;; any later version. -;; This file is distributed in the hope that it will be useful, but -;; WITHOUT ANY WARRANTY; without even the implied warranty of -;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -;; General Public License for more details. +;; GNU Emacs is distributed in the hope that it will be useful, +;; but WITHOUT ANY WARRANTY; without even the implied warranty of +;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;; GNU General Public License for more details. ;; You should have received a copy of the GNU General Public License -;; along with This file; see the file COPYING. If not, write to the -;; Free Software Foundation, Inc., 59 Temple Place - Suite 330, -;; Boston, MA 02111-1307, USA. +;; along with GNU Emacs; see the file COPYING. If not, write to the +;; Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +;; Boston, MA 02110-1301, USA. ;;; Commentary: @@ -43,11 +43,13 @@ ;; 2004-09-11 Posted on gnu.emacs.sources. ;; 2004-09-13 Ported to XEmacs. +;; 2004-09-14 Installed in Emacs CVS. ;;; Code: (defgroup dns-mode nil - "DNS master file mode configuration.") + "DNS master file mode configuration." + :group 'comm) (defconst dns-mode-classes '("IN" "CS" "CH" "HS") "List of strings with known DNS classes.") @@ -189,6 +191,8 @@ Turning on DNS mode runs `dns-mode-hook'." (message "Replaced old serial %s with %s" serial new)) (error "Cannot locate serial number in SOA record")))))) +;;;###autoload(add-to-list 'auto-mode-alist '("\\.soa\\'" . dns-mode)) + (provide 'dns-mode) ;; arch-tag: 6a179f0a-072f-49db-8b01-37b8f23998c0