Allow specifying the default archive types to compress to in Dired
authorSun Lin <sunlin7@yahoo.com>
Mon, 17 May 2021 16:03:55 +0000 (18:03 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Mon, 17 May 2021 16:03:55 +0000 (18:03 +0200)
commitdac20f08fa8f6b9fbdb8251af0652a909dee9fc8
treec1ac7a7b2014338d9148c74c6311031f4f90b4d9
parentec870f8986aa28b6c09c78095bbd84912471be4d
Allow specifying the default archive types to compress to in Dired

* lisp/dired-aux.el (dired-compress-file-default-suffix):
(dired-compress-directory-default-suffix): New user options
(bug#47119).
(dired-compress-file-alist): New variable.

* lisp/dired-aux.el (dired-compress-file): Use them.
(dired-compress-file-suffixes): Remove the directory item.
doc/emacs/dired.texi
etc/NEWS
lisp/dired-aux.el