[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] automatically handle .xz suffix (XZ-compressed files), too
From: |
Jim Meyering |
Subject: |
[PATCH] automatically handle .xz suffix (XZ-compressed files), too |
Date: |
Mon, 18 May 2009 13:21:46 +0200 |
Any objection to my committing this?
>From ad102774cf300cde688e23e174c6551b569f0b96 Mon Sep 17 00:00:00 2001
From: Jim Meyering <address@hidden>
Date: Mon, 18 May 2009 11:33:03 +0200
Subject: [PATCH] automatically .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/>
---
lisp/jka-cmpr-hook.el | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/lisp/jka-cmpr-hook.el b/lisp/jka-cmpr-hook.el
index 96e9513..fa2fd40 100644
--- a/lisp/jka-cmpr-hook.el
+++ b/lisp/jka-cmpr-hook.el
@@ -219,6 +219,10 @@ options through Custom does this automatically."
"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.
--
1.6.3.1.135.g540c.dirty
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [PATCH] automatically handle .xz suffix (XZ-compressed files), too,
Jim Meyering <=