diff options
| author | Oleh Krehel | 2016-07-14 11:40:53 +0200 |
|---|---|---|
| committer | Oleh Krehel | 2016-08-18 16:11:02 +0200 |
| commit | 4db19cdaf63289d413e5554253aa7eae931a5d4a (patch) | |
| tree | 736e5f512c5445aa387e871e9d428079db893a6f | |
| parent | 413cd292f6f0b63e62e6a84b3f866f2d482a582a (diff) | |
| download | emacs-4db19cdaf63289d413e5554253aa7eae931a5d4a.tar.gz emacs-4db19cdaf63289d413e5554253aa7eae931a5d4a.zip | |
lisp/dired-aux.el (dired-compress-file-suffixes): Add entry for tgz
The previous behavior resulted in a "tgz" -> "tar" -> "tgz" loop,
without any files being extracted.
| -rw-r--r-- | lisp/dired-aux.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/dired-aux.el b/lisp/dired-aux.el index ff1f14d7a65..4bdded35fe5 100644 --- a/lisp/dired-aux.el +++ b/lisp/dired-aux.el | |||
| @@ -942,8 +942,8 @@ command with a prefix argument (the value does not matter)." | |||
| 942 | ;; Solaris10 version of tar. Solaris10 becomes obsolete in 2021. | 942 | ;; Solaris10 version of tar. Solaris10 becomes obsolete in 2021. |
| 943 | ;; Same thing on AIX 7.1. | 943 | ;; Same thing on AIX 7.1. |
| 944 | ("\\.tar\\.gz\\'" "" "gzip -dc %i | tar -xv") | 944 | ("\\.tar\\.gz\\'" "" "gzip -dc %i | tar -xv") |
| 945 | ("\\.tgz\\'" "" "gzip -dc %i | tar -xv") | ||
| 945 | ("\\.gz\\'" "" "gunzip") | 946 | ("\\.gz\\'" "" "gunzip") |
| 946 | ("\\.tgz\\'" ".tar" "gunzip") | ||
| 947 | ("\\.Z\\'" "" "uncompress") | 947 | ("\\.Z\\'" "" "uncompress") |
| 948 | ;; For .z, try gunzip. It might be an old gzip file, | 948 | ;; For .z, try gunzip. It might be an old gzip file, |
| 949 | ;; or it might be from compact? pack? (which?) but gunzip handles both. | 949 | ;; or it might be from compact? pack? (which?) but gunzip handles both. |