From: Paul Reilly Date: Sun, 29 Sep 2002 01:43:10 +0000 (+0000) Subject: auto-mode-alist: Use archive-mode for ear/EAR (Enterprise ARchive) and X-Git-Tag: ttn-vms-21-2-B4~13012 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=eb55170455e7e4ca517e71587cc2cbc715145851;p=emacs.git auto-mode-alist: Use archive-mode for ear/EAR (Enterprise ARchive) and war/WAR (Web ARchive) files. --- 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