From: Jean Louis Date: Sat, 23 Jan 2021 23:34:44 +0000 (+0100) Subject: Add support for dired compressing .lz/.lzo files X-Git-Tag: emacs-28.0.90~4129 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=7cc970e7e3939672ec8ae490fff8300395e16b76;p=emacs.git Add support for dired compressing .lz/.lzo files * lisp/dired-aux.el (dired-compress-files-alist): Add support for .lz/.lzo files (bug#44901). --- 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'.