From 403b6c216bfaf27d1ce53c44905683d44644571d Mon Sep 17 00:00:00 2001 From: Mauro Aranda Date: Wed, 30 Aug 2023 19:45:09 -0300 Subject: [PATCH] Fix choice in electric-pair-skip-whitespace-chars * lisp/elec-pair.el (electric-pair-skip-whitespace-chars): Use repeat instead of list. (Bug#65625) --- lisp/elec-pair.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/elec-pair.el b/lisp/elec-pair.el index e101cbc9e6f..223c7d89773 100644 --- a/lisp/elec-pair.el +++ b/lisp/elec-pair.el @@ -153,7 +153,7 @@ electric-pair-skip-whitespace-chars :type '(choice (set (const :tag "Space" ?\s) (const :tag "Tab" ?\t) (const :tag "Newline" ?\n)) - (list character))) + (repeat (character :value " ")))) (defvar-local electric-pair-skip-whitespace-function #'electric-pair--skip-whitespace -- 2.34.1