From: Stefan Monnier Date: Wed, 19 Sep 2007 17:26:29 +0000 (+0000) Subject: (auto-mode-alist): Use archive-mode for .rar files. X-Git-Tag: emacs-pretest-23.0.90~10825 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=e7988f092023b2409cbb8d623ee55b8baf14d1ad;p=emacs.git (auto-mode-alist): Use archive-mode for .rar files. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 3a65c35265d..c989f666aa5 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,5 +1,9 @@ 2007-09-19 Stefan Monnier + * 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. diff --git a/lisp/files.el b/lisp/files.el index adaa48f5ab9..1effa5b4c59 100644 --- a/lisp/files.el +++ b/lisp/files.el @@ -2013,8 +2013,9 @@ since only a single case-insensitive search through the alist is made." ("\\.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