mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-10 08:10:21 -08:00
Support zstd compressed files
* lisp/jka-cmpr-hook.el (jka-compr-compression-info-list): Add zstd compression info: <http://facebook.github.io/zstd/>. (jka-compr-mode-alist-additions): Handle .tzst suffix for zstd compressed tar archives. (Bug#24853) Copyright-paperwork-exempt: yes
This commit is contained in:
parent
ebaf39e3f2
commit
f95bf3cd1f
1 changed files with 11 additions and 2 deletions
|
|
@ -244,7 +244,15 @@ options through Custom does this automatically."
|
||||||
["\\.dz\\'"
|
["\\.dz\\'"
|
||||||
nil nil nil
|
nil nil nil
|
||||||
"uncompressing" "gzip" ("-c" "-q" "-d")
|
"uncompressing" "gzip" ("-c" "-q" "-d")
|
||||||
nil t "\037\213"]))
|
nil t "\037\213"]
|
||||||
|
["\\.zst\\'"
|
||||||
|
"zstd compressing" "zstd" ("-c" "-q")
|
||||||
|
"zstd uncompressing" "zstd" ("-c" "-q" "-d")
|
||||||
|
t t "\050\265\057\375"]
|
||||||
|
["\\.tzst\\'"
|
||||||
|
"zstd compressing" "zstd" ("-c" "-q")
|
||||||
|
"zstd uncompressing" "zstd" ("-c" "-q" "-d")
|
||||||
|
t nil "\050\265\057\375"]))
|
||||||
|
|
||||||
"List of vectors that describe available compression techniques.
|
"List of vectors that describe available compression techniques.
|
||||||
Each element, which describes a compression technique, is a vector of
|
Each element, which describes a compression technique, is a vector of
|
||||||
|
|
@ -308,7 +316,8 @@ variables. Setting this through Custom does that automatically."
|
||||||
(defcustom jka-compr-mode-alist-additions
|
(defcustom jka-compr-mode-alist-additions
|
||||||
(purecopy '(("\\.tgz\\'" . tar-mode)
|
(purecopy '(("\\.tgz\\'" . tar-mode)
|
||||||
("\\.tbz2?\\'" . tar-mode)
|
("\\.tbz2?\\'" . tar-mode)
|
||||||
("\\.txz\\'" . tar-mode)))
|
("\\.txz\\'" . tar-mode)
|
||||||
|
("\\.tzst\\'" . tar-mode)))
|
||||||
"List of pairs added to `auto-mode-alist' when installing jka-compr.
|
"List of pairs added to `auto-mode-alist' when installing jka-compr.
|
||||||
Uninstalling jka-compr removes all pairs from `auto-mode-alist' that
|
Uninstalling jka-compr removes all pairs from `auto-mode-alist' that
|
||||||
installing added.
|
installing added.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue