aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Ingebrigtsen2019-08-23 05:31:17 +0200
committerLars Ingebrigtsen2019-08-23 05:31:17 +0200
commit6aab45bffc616efc938d7bcdb3a18c206f389a2c (patch)
treeef664a13e5f6a9eb32daccebebe9fb5d46239c39
parent228ca5aa4b499052be2a61afb686a15fbb1a38f6 (diff)
downloademacs-6aab45bffc616efc938d7bcdb3a18c206f389a2c.tar.gz
emacs-6aab45bffc616efc938d7bcdb3a18c206f389a2c.zip
Make dired recognize .lz files
* lisp/dired-aux.el (dired-compress-file-suffixes): Recognize .lz (lzip) compressed files (bug#37136).
-rw-r--r--lisp/dired-aux.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/dired-aux.el b/lisp/dired-aux.el
index 6c06d841e7d..a321247b0b6 100644
--- a/lisp/dired-aux.el
+++ b/lisp/dired-aux.el
@@ -992,6 +992,7 @@ command with a prefix argument (the value does not matter)."
992 ("\\.tar\\.gz\\'" "" "gzip -dc %i | tar -xf -") 992 ("\\.tar\\.gz\\'" "" "gzip -dc %i | tar -xf -")
993 ("\\.tgz\\'" "" "gzip -dc %i | tar -xf -") 993 ("\\.tgz\\'" "" "gzip -dc %i | tar -xf -")
994 ("\\.gz\\'" "" "gunzip") 994 ("\\.gz\\'" "" "gunzip")
995 ("\\.lz\\'" "" "lzip -d")
995 ("\\.Z\\'" "" "uncompress") 996 ("\\.Z\\'" "" "uncompress")
996 ;; For .z, try gunzip. It might be an old gzip file, 997 ;; For .z, try gunzip. It might be an old gzip file,
997 ;; or it might be from compact? pack? (which?) but gunzip handles both. 998 ;; or it might be from compact? pack? (which?) but gunzip handles both.