From e100ee84e358755c0dc8a449091bde28603970c6 Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Wed, 19 May 2021 08:28:35 -0700 Subject: [PATCH] Fix custom type of recent dired-aux additions * lisp/dired-aux.el (dired-compress-file-default-suffix) (dired-compress-directory-default-suffix): Fix :type. --- lisp/dired-aux.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/dired-aux.el b/lisp/dired-aux.el index eb43ab187d5..d57237f0383 100644 --- a/lisp/dired-aux.el +++ b/lisp/dired-aux.el @@ -1169,7 +1169,7 @@ ARGS are command switches passed to PROGRAM.") (defcustom dired-compress-file-default-suffix nil "Default suffix for compressing a single file. If nil, \".gz\" will be used." - :type 'string + :type '(choice (const :tag ".gz" nil) string) :group 'dired :version "28.1") @@ -1190,7 +1190,7 @@ output file. %i path(s) are relative, while %o is absolute.") (defcustom dired-compress-directory-default-suffix nil "Default suffix for compressing a directory. If nil, \".tar.gz\" will be used." - :type 'string + :type '(choice (const :tag ".tar.gz" nil) string) :group 'dired :version "28.1") -- 2.39.5