; * lisp/editorconfig.el (editorconfig-indentation-alist): Fix :type.
authorEli Zaretskii <eliz@gnu.org>
Sat, 22 Jun 2024 16:39:37 +0000 (19:39 +0300)
committerEli Zaretskii <eliz@gnu.org>
Sat, 22 Jun 2024 16:39:37 +0000 (19:39 +0300)
lisp/editorconfig.el

index 475151d534db0e944c6da51cd52ece8b75d205ad..931781007d9d3ce074a3904275dc69350020ac7f 100644 (file)
@@ -268,7 +268,10 @@ This is a fallback used for those modes which don't set
 Each element should look like (MODE . SETTING) where SETTING
 should obey the same rules as `editorconfig-indent-size-vars'."
   :type '(alist :key-type symbol
-                :value-type (choice function (repeat symbol)))
+                :value-type (choice function
+                                    (repeat
+                                     (choice symbol
+                                             (cons symbol integer)))))
   :risky t)
 
 (defcustom editorconfig-trim-whitespaces-mode nil