changeset 93614:ee3b56d7c857

(auto-mode-alist): Use archive-mode for Debian packages.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Thu, 03 Apr 2008 20:06:46 +0000
parents 1cee153604e6
children 34417c118a39
files lisp/ChangeLog lisp/files.el
diffstat 2 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Thu Apr 03 20:05:39 2008 +0000
+++ b/lisp/ChangeLog	Thu Apr 03 20:06:46 2008 +0000
@@ -1,5 +1,7 @@
 2008-04-03  Stefan Monnier  <monnier@iro.umontreal.ca>
 
+	* files.el (auto-mode-alist): Use archive-mode for Debian packages.
+
 	* arc-mode.el (archive-mode-map): Obey mouse-1-click-follows-link.
 	(archive-try-jka-compr): New function.
 	(archive-set-buffer-as-visiting-file): Use it.
--- a/lisp/files.el	Thu Apr 03 20:05:39 2008 +0000
+++ b/lisp/files.el	Thu Apr 03 20:06:46 2008 +0000
@@ -2060,6 +2060,7 @@
 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
+     ("\\.\\(deb\\)\\'" . archive-mode)                 ; Debian packages.
      ;; Mailer puts message to be edited in
      ;; /tmp/Re.... or Message
      ("\\`/tmp/Re" . text-mode)