summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOleh Krehel <ohwoeowho@gmail.com>2016-07-14 11:40:53 +0200
committerOleh Krehel <ohwoeowho@gmail.com>2016-08-18 16:11:02 +0200
commit4db19cdaf63289d413e5554253aa7eae931a5d4a (patch)
tree736e5f512c5445aa387e871e9d428079db893a6f
parent413cd292f6f0b63e62e6a84b3f866f2d482a582a (diff)
downloademacs-4db19cdaf63289d413e5554253aa7eae931a5d4a.tar.gz
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.el2
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)."
;; Solaris10 version of tar. Solaris10 becomes obsolete in 2021.
;; Same thing on AIX 7.1.
("\\.tar\\.gz\\'" "" "gzip -dc %i | tar -xv")
+ ("\\.tgz\\'" "" "gzip -dc %i | tar -xv")
("\\.gz\\'" "" "gunzip")
- ("\\.tgz\\'" ".tar" "gunzip")
("\\.Z\\'" "" "uncompress")
;; For .z, try gunzip. It might be an old gzip file,
;; or it might be from compact? pack? (which?) but gunzip handles both.