From e13322a0d943728730d9b0e92bd424e24ffe3532 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Thu, 5 Mar 1998 02:17:48 +0000 Subject: [PATCH] (auto-mode-alist): Recognize zone-mode. --- lisp/files.el | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/lisp/files.el b/lisp/files.el index c28455a8d66..606c49e6a14 100644 --- a/lisp/files.el +++ b/lisp/files.el @@ -1204,6 +1204,7 @@ run `normal-mode' explicitly." ("\\`/tmp/Re" . text-mode) ("/Message[0-9]*\\'" . text-mode) ("/drafts/[0-9]+\\'" . mh-letter-mode) + ("\\.zone\\'" . zone-mode) ;; some news reader is reported to use this ("\\`/tmp/fol/" . text-mode) ("\\.y\\'" . c-mode) @@ -1230,6 +1231,20 @@ If the element has the form (REGEXP FUNCTION NON-NIL), then after calling FUNCTION (if it's not nil), we delete the suffix that matched REGEXP and search the list again for another match.") + + + +To install, put this in your .emacs: + (setq auto-mode-alist (cons '(\".zone$\" . zone-mode) + auto-mode-alist)) +or put ;-*-zone-*- +on an the first line of the zone files. + +You may also need to add + (autoload 'zone-mode \"zone-mode\" "") + +Font-lock support assumes emacs-20. + (defvar interpreter-mode-alist '(("perl" . perl-mode) ("perl5" . perl-mode) -- 2.39.2