diff options
| author | Stefan Monnier | 2007-09-19 17:26:29 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2007-09-19 17:26:29 +0000 |
| commit | e7988f092023b2409cbb8d623ee55b8baf14d1ad (patch) | |
| tree | c5ea012432d2223719297bfe5a91ad51cf99a5fb | |
| parent | a3862583b3f49ab89bf09fd9c65c9c3cce487cc9 (diff) | |
| download | emacs-e7988f092023b2409cbb8d623ee55b8baf14d1ad.tar.gz emacs-e7988f092023b2409cbb8d623ee55b8baf14d1ad.zip | |
(auto-mode-alist): Use archive-mode for .rar files.
| -rw-r--r-- | lisp/ChangeLog | 4 | ||||
| -rw-r--r-- | lisp/files.el | 5 |
2 files changed, 7 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 3a65c35265d..c989f666aa5 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,5 +1,9 @@ | |||
| 1 | 2007-09-19 Stefan Monnier <monnier@iro.umontreal.ca> | 1 | 2007-09-19 Stefan Monnier <monnier@iro.umontreal.ca> |
| 2 | 2 | ||
| 3 | * files.el (auto-mode-alist): Use archive-mode for .rar files. | ||
| 4 | |||
| 5 | * international/mule.el (auto-coding-alist): Rar archives are binary. | ||
| 6 | |||
| 3 | * arc-mode.el: Add basic support for Rar. | 7 | * arc-mode.el: Add basic support for Rar. |
| 4 | (archive-find-type): Recognize Rar's signature. | 8 | (archive-find-type): Recognize Rar's signature. |
| 5 | (archive-desummarize): New fun. | 9 | (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." | |||
| 2013 | ("\\.tar\\'" . tar-mode) | 2013 | ("\\.tar\\'" . tar-mode) |
| 2014 | ;; The list of archive file extensions should be in sync with | 2014 | ;; The list of archive file extensions should be in sync with |
| 2015 | ;; `auto-coding-alist' with `no-conversion' coding system. | 2015 | ;; `auto-coding-alist' with `no-conversion' coding system. |
| 2016 | ("\\.\\(arc\\|zip\\|lzh\\|lha\\|zoo\\|[jew]ar\\|xpi\\)\\'" . archive-mode) | 2016 | ("\\.\\(\ |
| 2017 | ("\\.\\(ARC\\|ZIP\\|LZH\\|LHA\\|ZOO\\|[JEW]AR\\|XPI\\)\\'" . archive-mode) | 2017 | arc\\|zip\\|lzh\\|lha\\|zoo\\|[jew]ar\\|xpi\\|rar\\|\ |
| 2018 | ARC\\|ZIP\\|LZH\\|LHA\\|ZOO\\|[JEW]AR\\|XPI\\|RAR\\)\\'" . archive-mode) | ||
| 2018 | ("\\.\\(sx[dmicw]\\|odt\\)\\'" . archive-mode) ; OpenOffice.org | 2019 | ("\\.\\(sx[dmicw]\\|odt\\)\\'" . archive-mode) ; OpenOffice.org |
| 2019 | ;; Mailer puts message to be edited in | 2020 | ;; Mailer puts message to be edited in |
| 2020 | ;; /tmp/Re.... or Message | 2021 | ;; /tmp/Re.... or Message |