From: Eli Zaretskii Date: Sat, 22 Jun 2024 16:39:37 +0000 (+0300) Subject: ; * lisp/editorconfig.el (editorconfig-indentation-alist): Fix :type. X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=f7f9d0b19a93d21fcd767be79cb3cad7c4ebc493;p=emacs.git ; * lisp/editorconfig.el (editorconfig-indentation-alist): Fix :type. (cherry picked from commit 8520ec829d30195373aea2ae8bd7bdcf01f80b41) --- 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