diff options
| author | Tassilo Horn | 2015-10-24 07:38:10 +0200 |
|---|---|---|
| committer | Tassilo Horn | 2015-10-24 07:38:10 +0200 |
| commit | 972493658b13265a8d2dd59aa55cad59f05e5d77 (patch) | |
| tree | d95ab782897b827c089d599d360fc47771726719 | |
| parent | 66f0622a3db2fdaa862177199cff7c135c4e5142 (diff) | |
| download | emacs-972493658b13265a8d2dd59aa55cad59f05e5d77.tar.gz emacs-972493658b13265a8d2dd59aa55cad59f05e5d77.zip | |
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.
| -rw-r--r-- | 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 46d40d2b41e..9f115140527 100644 --- a/lisp/dired-aux.el +++ b/lisp/dired-aux.el | |||
| @@ -921,6 +921,8 @@ ARGS are command switches passed to PROGRAM.") | |||
| 921 | 921 | ||
| 922 | (defvar dired-compress-files-alist | 922 | (defvar dired-compress-files-alist |
| 923 | '(("\\.tar\\.gz\\'" . "tar -c %i | gzip -c9 > %o") | 923 | '(("\\.tar\\.gz\\'" . "tar -c %i | gzip -c9 > %o") |
| 924 | ("\\.tar\\.bz2\\'" . "tar -c %i | bzip2 -c9 > %o") | ||
| 925 | ("\\.tar\\.xz\\'" . "tar -c %i | xz -c9 > %o") | ||
| 924 | ("\\.zip\\'" . "zip %o -r --filesync %i")) | 926 | ("\\.zip\\'" . "zip %o -r --filesync %i")) |
| 925 | "Control the compression shell command for `dired-do-compress-to'. | 927 | "Control the compression shell command for `dired-do-compress-to'. |
| 926 | 928 | ||