summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorJean Louis <bugs@gnu.support>2021-01-24 00:34:44 +0100
committerLars Ingebrigtsen <larsi@gnus.org>2021-01-24 00:34:51 +0100
commit7cc970e7e3939672ec8ae490fff8300395e16b76 (patch)
tree73d5c1cdbb9e5d7da268310c170e8d3f2252730e /lisp
parent0ebf9d6cef211a3eddcf035aa8494d95ab7a2649 (diff)
downloademacs-7cc970e7e3939672ec8ae490fff8300395e16b76.tar.gz
emacs-7cc970e7e3939672ec8ae490fff8300395e16b76.tar.bz2
emacs-7cc970e7e3939672ec8ae490fff8300395e16b76.zip
Add support for dired compressing .lz/.lzo files
* lisp/dired-aux.el (dired-compress-files-alist): Add support for .lz/.lzo files (bug#44901).
Diffstat (limited to 'lisp')
-rw-r--r--lisp/dired-aux.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/dired-aux.el b/lisp/dired-aux.el
index f860743a066..c765e4be45d 100644
--- a/lisp/dired-aux.el
+++ b/lisp/dired-aux.el
@@ -1168,6 +1168,8 @@ ARGS are command switches passed to PROGRAM.")
("\\.tar\\.bz2\\'" . "tar -cf - %i | bzip2 -c9 > %o")
("\\.tar\\.xz\\'" . "tar -cf - %i | xz -c9 > %o")
("\\.tar\\.zst\\'" . "tar -cf - %i | zstd -19 -o %o")
+ ("\\.tar\\.lz\\'" . "tar -cf - %i | lzip -c9 > %o")
+ ("\\.tar\\.lzo\\'" . "tar -cf - %i | lzop -c9 > %o")
("\\.zip\\'" . "zip %o -r --filesync %i")
("\\.pax\\'" . "pax -wf %o %i"))
"Control the compression shell command for `dired-do-compress-to'.