emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master 4db19cd 1/2: lisp/dired-aux.el (dired-compress-file


From: Oleh Krehel
Subject: [Emacs-diffs] master 4db19cd 1/2: lisp/dired-aux.el (dired-compress-file-suffixes): Add entry for tgz
Date: Thu, 18 Aug 2016 14:12:47 +0000 (UTC)

branch: master
commit 4db19cdaf63289d413e5554253aa7eae931a5d4a
Author: Oleh Krehel <address@hidden>
Commit: Oleh Krehel <address@hidden>

    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.
---
 lisp/dired-aux.el |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/dired-aux.el b/lisp/dired-aux.el
index ff1f14d..4bdded3 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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]