# HG changeset patch # User Jim Meyering # Date 1245682391 0 # Node ID 1dbbf8227afc451534066cd3e7d331844c207bab # Parent b9003818f4a3d2628592e0f331a37250bd5d4cc6 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: diff -r b9003818f4a3 -r 1dbbf8227afc lisp/ChangeLog --- 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 + + 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: + 2009-06-22 Dmitry Dzhus Nick Roberts - + * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's repository (http://sphinx.net.ru/hg/gdb-mi/). diff -r b9003818f4a3 -r 1dbbf8227afc lisp/jka-cmpr-hook.el --- 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.