[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master 9724936: Add support for tar.bz2 and tar.xz archive
From: |
Tassilo Horn |
Subject: |
[Emacs-diffs] master 9724936: Add support for tar.bz2 and tar.xz archives |
Date: |
Sat, 24 Oct 2015 05:38:50 +0000 |
branch: master
commit 972493658b13265a8d2dd59aa55cad59f05e5d77
Author: Tassilo Horn <address@hidden>
Commit: Tassilo Horn <address@hidden>
Add support for tar.bz2 and tar.xz archives
* lisp/dired-aux.el (dired-compress-files-alist): Add support for
tar.bz2 and tar.xz archives.
---
lisp/dired-aux.el | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/lisp/dired-aux.el b/lisp/dired-aux.el
index 46d40d2..9f11514 100644
--- a/lisp/dired-aux.el
+++ b/lisp/dired-aux.el
@@ -921,6 +921,8 @@ ARGS are command switches passed to PROGRAM.")
(defvar dired-compress-files-alist
'(("\\.tar\\.gz\\'" . "tar -c %i | gzip -c9 > %o")
+ ("\\.tar\\.bz2\\'" . "tar -c %i | bzip2 -c9 > %o")
+ ("\\.tar\\.xz\\'" . "tar -c %i | xz -c9 > %o")
("\\.zip\\'" . "zip %o -r --filesync %i"))
"Control the compression shell command for `dired-do-compress-to'.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] master 9724936: Add support for tar.bz2 and tar.xz archives,
Tassilo Horn <=