# HG changeset patch # User Karl Heuer # Date 935853415 0 # Node ID d414a697a6466f95fe25ecd9f5ba55b17c59146b # Parent 68c51b1a537f80580081751ac9e9904acec6730a (dired-guess-shell-alist-default): Support bzip2 format. diff -r 68c51b1a537f -r d414a697a646 lisp/dired-x.el --- a/lisp/dired-x.el Sat Aug 28 15:13:37 1999 +0000 +++ b/lisp/dired-x.el Sat Aug 28 15:16:55 1999 +0000 @@ -957,6 +957,11 @@ (concat "gunzip -qc * | tar xvf -")) ;; Optional decompression. '(concat "gunzip" (if dired-guess-shell-gzip-quiet " -q" ""))) + ;; bzip2'ed archives + (list "\\.tar\\.bz2$" + "bunzip2 -c * | tar xvf -" + ;; Optional decompression. + "bunzip2") '("\\.shar.Z$" "zcat * | unshar") '("\\.shar.g?z$" "gunzip -qc * | unshar") @@ -1003,6 +1008,7 @@ ;; Compression. (list "\\.g?z$" '(concat "gunzip" (if dired-guess-shell-gzip-quiet " -q"))) + (list "\\.bz2$" "bunzip2") (list "\\.Z$" "uncompress" ;; Optional conversion to gzip format. '(concat "znew" (if dired-guess-shell-gzip-quiet " -q")