* files.el (auto-mode-alist): Delete OpenDocument and StarOffice
authorTassilo Horn <tsdh@gnu.org>
Thu, 18 Apr 2013 06:24:10 +0000 (08:24 +0200)
committerTassilo Horn <tsdh@gnu.org>
Thu, 18 Apr 2013 06:24:10 +0000 (08:24 +0200)
file extensions from the archive-mode entry in order to prefer
doc-view-mode-maybe with archive-mode as fallback (bug#14188).

lisp/ChangeLog
lisp/files.el

index 2e4050b..516833c 100644 (file)
@@ -1,3 +1,9 @@
+2013-04-18  Tassilo Horn  <tsdh@gnu.org>
+
+       * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
+       file extensions from the archive-mode entry in order to prefer
+       doc-view-mode-maybe with archive-mode as fallback (bug#14188).
+
 2013-04-18  Leo Liu  <sdl.web@gmail.com>
 
        * bindings.el (help-event-list): Add ?\?.
index 238be36..ae5e5a2 100644 (file)
@@ -2312,7 +2312,7 @@ since only a single case-insensitive search through the alist is made."
      ("\\.\\(\
 arc\\|zip\\|lzh\\|lha\\|zoo\\|[jew]ar\\|xpi\\|rar\\|7z\\|\
 ARC\\|ZIP\\|LZH\\|LHA\\|ZOO\\|[JEW]AR\\|XPI\\|RAR\\|7Z\\)\\'" . archive-mode)
-     ("\\.\\(sx[dmicw]\\|od[fgpst]\\|oxt\\)\\'" . archive-mode) ;OpenOffice.org
+     ("\\.oxt\\'" . archive-mode) ;(Open|Libre)Office extensions.
      ("\\.\\(deb\\|[oi]pk\\)\\'" . archive-mode) ; Debian/Opkg packages.
      ;; Mailer puts message to be edited in
      ;; /tmp/Re.... or Message