Mercurial > emacs
changeset 21069:e99cb5736904
(auto-mode-alist): Recognize zone-mode.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Thu, 05 Mar 1998 02:17:48 +0000 |
parents | cb35e7350402 |
children | f88e08d192a8 |
files | lisp/files.el |
diffstat | 1 files changed, 15 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/files.el Wed Mar 04 10:48:19 1998 +0000 +++ b/lisp/files.el Thu Mar 05 02:17:48 1998 +0000 @@ -1204,6 +1204,7 @@ ("\\`/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 @@ 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)