changeset 84664:04f3172e88f3

(auto-mode-alist): Use archive-mode for .rar files.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Wed, 19 Sep 2007 17:26:29 +0000
parents f9580a1df229
children 7d9294df8671
files lisp/ChangeLog lisp/files.el
diffstat 2 files changed, 7 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Wed Sep 19 17:26:02 2007 +0000
+++ b/lisp/ChangeLog	Wed Sep 19 17:26:29 2007 +0000
@@ -1,5 +1,9 @@
 2007-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
 
+	* files.el (auto-mode-alist): Use archive-mode for .rar files.
+
+	* international/mule.el (auto-coding-alist): Rar archives are binary.
+
 	* arc-mode.el: Add basic support for Rar.
 	(archive-find-type): Recognize Rar's signature.
 	(archive-desummarize): New fun.
--- a/lisp/files.el	Wed Sep 19 17:26:02 2007 +0000
+++ b/lisp/files.el	Wed Sep 19 17:26:29 2007 +0000
@@ -2013,8 +2013,9 @@
      ("\\.tar\\'" . tar-mode)
      ;; The list of archive file extensions should be in sync with
      ;; `auto-coding-alist' with `no-conversion' coding system.
-     ("\\.\\(arc\\|zip\\|lzh\\|lha\\|zoo\\|[jew]ar\\|xpi\\)\\'" . archive-mode)
-     ("\\.\\(ARC\\|ZIP\\|LZH\\|LHA\\|ZOO\\|[JEW]AR\\|XPI\\)\\'" . archive-mode)
+     ("\\.\\(\
+arc\\|zip\\|lzh\\|lha\\|zoo\\|[jew]ar\\|xpi\\|rar\\|\
+ARC\\|ZIP\\|LZH\\|LHA\\|ZOO\\|[JEW]AR\\|XPI\\|RAR\\)\\'" . archive-mode)
      ("\\.\\(sx[dmicw]\\|odt\\)\\'" . archive-mode)	; OpenOffice.org
      ;; Mailer puts message to be edited in
      ;; /tmp/Re.... or Message