Subject: Re: bug#65401: 30.0.50; custom-theme-directory :type could be enhanced

From: Mauro Aranda <[email-masked]>
Date: Mon, 21 Aug 2023 11:46:26 -0300

Stefan Monnier <[email-masked]> writes:

 >>> > -  :type 'string
 >>> > +  :type 'directory
 >>> >    :group 'customize
 >>> > -  :version "22.1")
 >>> > +  :version "30.1")
 >>>
 >>> Does the version tag have to be bumped, for a metadata change this 
like?
 >>
 >> Probably not.  AFAIK, this is only used for showing "new and changed"
 >> options when users upgrade, and this change will be invisible at
 >> user level.
 >
 > Agreed.
 >
 >
 >         Stefan

Sending an updated patch.  Thanks.
From a79d01b62d46ffe121e0b7db26803d4fecc30105 Mon Sep 17 00:00:00 2001
From: Mauro Aranda <[email-masked]>
Date: Sun, 20 Aug 2023 10:39:49 -0300
Subject: [PATCH] Improve type of custom-theme-directory (Bug#65401)

* lisp/custom.el (custom-theme-directory): Make it of type directory.
---
 lisp/custom.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/custom.el b/lisp/custom.el
index 083349e3591..5c134ff7f13 100644
--- a/lisp/custom.el
+++ b/lisp/custom.el
@@ -1208,7 +1208,7 @@ custom-theme-directory
 directory.  By default, Emacs searches for custom themes in this
 directory first---see `custom-theme-load-path'."
   :initialize #'custom-initialize-delay
-  :type 'string
+  :type 'directory
   :group 'customize
   :version "22.1")
 
-- 
2.34.1