[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master 9e68dfa: Add support for 7z archives
From: |
Oleh Krehel |
Subject: |
[Emacs-diffs] master 9e68dfa: Add support for 7z archives |
Date: |
Tue, 29 Mar 2016 14:08:31 +0000 |
branch: master
commit 9e68dfa23e726eb66831d0b54cee998569b2c44d
Author: Oleh Krehel <address@hidden>
Commit: Oleh Krehel <address@hidden>
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.
---
lisp/dired-aux.el | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/lisp/dired-aux.el b/lisp/dired-aux.el
index 3e387d9..990bf6a 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)."
("\\.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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] master 9e68dfa: Add support for 7z archives,
Oleh Krehel <=