]> git.eshelyaron.com Git - emacs.git/commitdiff
; * lisp/editorconfig.el (editorconfig-indentation-alist): Fix :type.
authorEli Zaretskii <eliz@gnu.org>
Sat, 22 Jun 2024 16:39:37 +0000 (19:39 +0300)
committerEshel Yaron <me@eshelyaron.com>
Sat, 22 Jun 2024 20:40:21 +0000 (22:40 +0200)
(cherry picked from commit 8520ec829d30195373aea2ae8bd7bdcf01f80b41)

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