emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master e100ee8: Fix custom type of recent dired-aux additions


From: Glenn Morris
Subject: master e100ee8: Fix custom type of recent dired-aux additions
Date: Wed, 19 May 2021 11:28:51 -0400 (EDT)

branch: master
commit e100ee84e358755c0dc8a449091bde28603970c6
Author: Glenn Morris <rgm@gnu.org>
Commit: Glenn Morris <rgm@gnu.org>

    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 eb43ab1..d57237f 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")
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]