changeset 102526:bd6dbfa9026f

(auto-mode-alist): Add rules for OpenOffice extension packages, as well as Opkg/Ipkg packages.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Fri, 13 Mar 2009 15:58:06 +0000
parents 438d27553e81
children e16d4567a1bc
files lisp/ChangeLog lisp/files.el
diffstat 2 files changed, 5 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Fri Mar 13 15:37:03 2009 +0000
+++ b/lisp/ChangeLog	Fri Mar 13 15:58:06 2009 +0000
@@ -1,5 +1,8 @@
 2009-03-13  Stefan Monnier  <monnier@iro.umontreal.ca>
 
+	* files.el (auto-mode-alist): Add rules for OpenOffice extension
+	packages, as well as Opkg/Ipkg packages.
+
 	* tar-mode.el (tar-header-block-tokenize): Presume less, check more.
 	(tar-summarize-buffer): Don't silently skip incomplete headers.
 	(tar-mode): Revert to fundamental-mode in case of malformed tar data.
--- a/lisp/files.el	Fri Mar 13 15:37:03 2009 +0000
+++ b/lisp/files.el	Fri Mar 13 15:58:06 2009 +0000
@@ -2205,8 +2205,8 @@
      ("\\.\\(\
 arc\\|zip\\|lzh\\|lha\\|zoo\\|[jew]ar\\|xpi\\|rar\\|\
 ARC\\|ZIP\\|LZH\\|LHA\\|ZOO\\|[JEW]AR\\|XPI\\|RAR\\)\\'" . archive-mode)
-     ("\\.\\(sx[dmicw]\\|od[fgpst]\\)\\'" . archive-mode) ; OpenOffice.org
-     ("\\.\\(deb\\)\\'" . archive-mode)                 ; Debian packages.
+     ("\\.\\(sx[dmicw]\\|od[fgpst]\\|oxt\\)\\'" . archive-mode) ;OpenOffice.org
+     ("\\.\\(deb\\|[oi]pk\\)\\'" . archive-mode) ; Debian/Opkg packages.
      ;; Mailer puts message to be edited in
      ;; /tmp/Re.... or Message
      ("\\`/tmp/Re" . text-mode)