From: Glenn Morris Date: Wed, 19 May 2021 15:28:35 +0000 (-0700) Subject: Fix custom type of recent dired-aux additions X-Git-Tag: emacs-28.0.90~2394 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=e100ee84e358755c0dc8a449091bde28603970c6;p=emacs.git Fix custom type of recent dired-aux additions * lisp/dired-aux.el (dired-compress-file-default-suffix) (dired-compress-directory-default-suffix): Fix :type. --- 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")