Commit c10e0633 authored by Glenn Morris's avatar Glenn Morris
Browse files

Sven Joachim <svenjoac at gmx.de>

(dired-guess-shell-alist-default): Support xz format.  (Bug#4953)
parent 2054a44c
2009-11-23 Sven Joachim <svenjoac@gmx.de>
* dired-x.el (dired-guess-shell-alist-default):
Support xz format. (Bug#4953)
2009-11-22 Chong Yidong <cyd@stupidchicken.com>
* cedet/srecode/map.el (srecode-get-maps):
......
......@@ -1017,6 +1017,16 @@ dired."
;; Optional decompression.
"bunzip2")
;; xz'ed archives
(list "\\.t\\(ar\\.\\)?xz$"
"unxz -c * | tar xvf -"
;; Extract files into a separate subdirectory
'(concat "mkdir " (file-name-sans-extension file)
"; unxz -c * | tar -C "
(file-name-sans-extension file) " -xvf -")
;; Optional decompression.
"unxz")
'("\\.shar\\.Z$" "zcat * | unshar")
'("\\.shar\\.g?z$" "gunzip -qc * | unshar")
......@@ -1098,6 +1108,7 @@ dired."
(list "\\.g?z$" '(concat "gunzip" (if dired-guess-shell-gzip-quiet " -q")))
(list "\\.dz$" "dictunzip")
(list "\\.bz2$" "bunzip2")
(list "\\.xz$" "unxz")
(list "\\.Z$" "uncompress"
;; Optional conversion to gzip format.
'(concat "znew" (if dired-guess-shell-gzip-quiet " -q")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment