From eb55170455e7e4ca517e71587cc2cbc715145851 Mon Sep 17 00:00:00 2001 From: Paul Reilly Date: Sun, 29 Sep 2002 01:43:10 +0000 Subject: [PATCH] auto-mode-alist: Use archive-mode for ear/EAR (Enterprise ARchive) and war/WAR (Web ARchive) files. --- lisp/files.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/files.el b/lisp/files.el index 33ae2b3c947..37118f85d2c 100644 --- a/lisp/files.el +++ b/lisp/files.el @@ -1569,8 +1569,8 @@ in that case, this function acts as if `enable-local-variables' were t." ("\\.awk\\'" . awk-mode) ("\\.prolog\\'" . prolog-mode) ("\\.tar\\'" . tar-mode) - ("\\.\\(arc\\|zip\\|lzh\\|zoo\\|jar\\)\\'" . archive-mode) - ("\\.\\(ARC\\|ZIP\\|LZH\\|ZOO\\|JAR\\)\\'" . archive-mode) + ("\\.\\(arc\\|zip\\|lzh\\|zoo\\|ear\\|jar\\|war\\)\\'" . archive-mode) + ("\\.\\(ARC\\|ZIP\\|LZH\\|ZOO\\|EAR\\|JAR\\|WAR\\)\\'" . archive-mode) ("\\.sx[dmicw]\\'" . archive-mode) ; OpenOffice.org ;; Mailer puts message to be edited in ;; /tmp/Re.... or Message -- 2.39.5