changeset 103523:1dbbf8227afc

automatically handle .xz suffix (XZ-compressed files), too * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz. XZ is the successor to LZMA: <http://tukaani.org/xz/>
author Jim Meyering <jim@meyering.net>
date Mon, 22 Jun 2009 14:53:11 +0000
parents b9003818f4a3
children f2d61cf08aac
files lisp/ChangeLog lisp/jka-cmpr-hook.el
diffstat 2 files changed, 11 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Mon Jun 22 10:57:52 2009 +0000
+++ b/lisp/ChangeLog	Mon Jun 22 14:53:11 2009 +0000
@@ -1,6 +1,12 @@
+2009-06-22  Jim Meyering  <meyering@redhat.com>
+
+	automatically handle .xz suffix (XZ-compressed files), too
+	* jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
+	XZ is the successor to LZMA: <http://tukaani.org/xz/>
+
 2009-06-22  Dmitry Dzhus  <dima@sphinx.net.ru>
 	            Nick Roberts  <nickrob@snap.net.nz>
-	
+
 	* progmodes/gdb-mi.el: Pull further  modified changes from Dmitry's
 	repository (http://sphinx.net.ru/hg/gdb-mi/).
 
--- a/lisp/jka-cmpr-hook.el	Mon Jun 22 10:57:52 2009 +0000
+++ b/lisp/jka-cmpr-hook.el	Mon Jun 22 14:53:11 2009 +0000
@@ -219,6 +219,10 @@
      "compressing"        "gzip"         ("-c" "-q")
      "uncompressing"      "gzip"         ("-c" "-q" "-d")
      t t "\037\213"]
+    ["\\.xz\\(~\\|\\.~[0-9]+~\\)?\\'"
+     "XZ compressing"     "xz"           ("-c" "-q")
+     "XZ uncompressing"   "xz"           ("-c" "-q" "-d")
+     t t "\3757zXZ\0"]
     ;; dzip is gzip with random access.  Its compression program can't
     ;; read/write stdin/out, so .dz files can only be viewed without
     ;; saving, having their contents decompressed with gzip.