From c34dea06956f2a3d098badf9cea089bee0f7b61b Mon Sep 17 00:00:00 2001 From: Mauro Aranda 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 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/custom.el b/lisp/custom.el index 083349e3591..5b244464d0b 100644 --- a/lisp/custom.el +++ b/lisp/custom.el @@ -1208,9 +1208,9 @@ 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") + :version "30.1") (defvar custom-theme-load-path (list 'custom-theme-directory t) "List of directories to search for custom theme files. -- 2.34.1