From: Juri Linkov Date: Sat, 19 Mar 2005 20:00:36 +0000 (+0000) Subject: (auto-mode-alist): Add comment. Optimize jar/ear/war. X-Git-Tag: ttn-vms-21-2-B4~1681 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=0ee6e7b7c2478b2967e448069f429618e1f779b2;p=emacs.git (auto-mode-alist): Add comment. Optimize jar/ear/war. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 06c7aa39734..a756e8cf475 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,11 @@ +2005-03-19 Juri Linkov + + * files.el (auto-mode-alist): Add comment. Optimize jar/ear/war. + + * international/mule.el (auto-coding-alist): Sync with + `auto-mode-alist' by adding upper case archive file extensions + and adding ear/war to jar extension. + 2005-03-19 David Casperson (tiny change) * textmodes/tex-mode.el (tex-view): If tex-shell process is not diff --git a/lisp/files.el b/lisp/files.el index 8099c7f1b40..1921c959bf9 100644 --- a/lisp/files.el +++ b/lisp/files.el @@ -1775,8 +1775,10 @@ in that case, this function acts as if `enable-local-variables' were t." ("\\.pro\\'" . idlwave-mode) ("\\.prolog\\'" . prolog-mode) ("\\.tar\\'" . tar-mode) - ("\\.\\(arc\\|zip\\|lzh\\|zoo\\|ear\\|jar\\|war\\)\\'" . archive-mode) - ("\\.\\(ARC\\|ZIP\\|LZH\\|ZOO\\|EAR\\|JAR\\|WAR\\)\\'" . archive-mode) + ;; The list of archive file extensions should be in sync with + ;; `auto-coding-alist' with `no-conversion' coding system. + ("\\.\\(arc\\|zip\\|lzh\\|zoo\\|[jew]ar\\)\\'" . archive-mode) + ("\\.\\(ARC\\|ZIP\\|LZH\\|ZOO\\|[JEW]AR\\)\\'" . archive-mode) ("\\.sx[dmicw]\\'" . archive-mode) ; OpenOffice.org ;; Mailer puts message to be edited in ;; /tmp/Re.... or Message