From 8520ec829d30195373aea2ae8bd7bdcf01f80b41 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sat, 22 Jun 2024 19:39:37 +0300 Subject: [PATCH] ; * lisp/editorconfig.el (editorconfig-indentation-alist): Fix :type. --- lisp/editorconfig.el | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lisp/editorconfig.el b/lisp/editorconfig.el index 475151d534d..931781007d9 100644 --- a/lisp/editorconfig.el +++ b/lisp/editorconfig.el @@ -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