aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOleh Krehel2016-03-29 15:59:35 +0200
committerOleh Krehel2016-03-29 16:05:55 +0200
commit9e68dfa23e726eb66831d0b54cee998569b2c44d (patch)
tree9ecf8a1ae8c24390b4465c89b3690918a6ca7efd
parent6df158cf55132cf8766c57b3e8911eabe993f2d2 (diff)
downloademacs-9e68dfa23e726eb66831d0b54cee998569b2c44d.tar.gz
emacs-9e68dfa23e726eb66831d0b54cee998569b2c44d.zip
Add support for 7z archives
* lisp/dired-aux.el (dired-compress-file-suffixes): "Z" should now also work with 7z archives. The shell command should produce a single extracted directory named after the archive's name. In case the extracted directory exists, all files will be overwritten without a prompt. This matches the expected behavior with the "tar.gz" archives.
-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 3e387d9e0df..990bf6aa34c 100644
--- a/lisp/dired-aux.el
+++ b/lisp/dired-aux.el
@@ -902,6 +902,7 @@ command with a prefix argument (the value does not matter)."
902 ("\\.bz2\\'" "" "bunzip2") 902 ("\\.bz2\\'" "" "bunzip2")
903 ("\\.xz\\'" "" "unxz") 903 ("\\.xz\\'" "" "unxz")
904 ("\\.zip\\'" "" "unzip -o -d %o %i") 904 ("\\.zip\\'" "" "unzip -o -d %o %i")
905 ("\\.7z\\'" "" "7z x -aoa -o%o %i")
905 ;; This item controls naming for compression. 906 ;; This item controls naming for compression.
906 ("\\.tar\\'" ".tgz" nil) 907 ("\\.tar\\'" ".tgz" nil)
907 ;; This item controls the compression of directories 908 ;; This item controls the compression of directories