]> git.eshelyaron.com Git - emacs.git/commitdiff
(dired-guess-shell-alist-default): Support bzip2 format.
authorKarl Heuer <kwzh@gnu.org>
Sat, 28 Aug 1999 15:16:55 +0000 (15:16 +0000)
committerKarl Heuer <kwzh@gnu.org>
Sat, 28 Aug 1999 15:16:55 +0000 (15:16 +0000)
lisp/dired-x.el

index f6497761b502f3e4fd93eabe71e368e63ba4f773..91d36034ee57d653a9430acffa0ea8e80967b306 100644 (file)
@@ -957,6 +957,11 @@ dired."
             (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 @@ dired."
 
    ;; 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")