summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2021-05-19 08:28:35 -0700
committerGlenn Morris <rgm@gnu.org>2021-05-19 08:28:35 -0700
commite100ee84e358755c0dc8a449091bde28603970c6 (patch)
tree1d65e07b0bd5c9bbf0626fdf3849b1a08255f901
parentb4e1fdfe2128c53be61f04d7c35995eb1e5fb57f (diff)
downloademacs-e100ee84e358755c0dc8a449091bde28603970c6.tar.gz
Fix custom type of recent dired-aux additions
* lisp/dired-aux.el (dired-compress-file-default-suffix) (dired-compress-directory-default-suffix): Fix :type.
-rw-r--r--lisp/dired-aux.el4
1 files 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")