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.
This commit is contained in:
parent
6df158cf55
commit
9e68dfa23e
1 changed files with 1 additions and 0 deletions
|
@ -902,6 +902,7 @@ command with a prefix argument (the value does not matter)."
|
|||
("\\.bz2\\'" "" "bunzip2")
|
||||
("\\.xz\\'" "" "unxz")
|
||||
("\\.zip\\'" "" "unzip -o -d %o %i")
|
||||
("\\.7z\\'" "" "7z x -aoa -o%o %i")
|
||||
;; This item controls naming for compression.
|
||||
("\\.tar\\'" ".tgz" nil)
|
||||
;; This item controls the compression of directories
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue