]> git.eshelyaron.com Git - emacs.git/commitdiff
auto-mode-alist: Use archive-mode for ear/EAR (Enterprise ARchive) and
authorPaul Reilly <pmr@pajato.com>
Sun, 29 Sep 2002 01:43:10 +0000 (01:43 +0000)
committerPaul Reilly <pmr@pajato.com>
Sun, 29 Sep 2002 01:43:10 +0000 (01:43 +0000)
war/WAR (Web ARchive) files.

lisp/files.el

index 33ae2b3c94708acf1f047440b873fd6888596a08..37118f85d2c21fd7dc9cd76789825801655ced3b 100644 (file)
@@ -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