Subject: bug#78053: [PATCH] Support strings for electric-pairs.

From: Elijah Gabe Pérez <[email-masked]>
Date: Sat, 14 Jun 2025 22:35:26 -0600

Eli Zaretskii <[email-masked]> writes:

>>  See also the variable `electric-pair-text-pairs'."
>>    :version "24.1"
>>    :group 'electricity
>> -  :type '(repeat (cons character character)))
>> +  :type '(repeat
>> +          (choice (cons :tag "Characters" character character)
>> +                  (cons :tag "Strings" string string)
>> +                  (list :tag "Strings and insert space in pairs"
>> +                        string string boolean))))
>
> What does "Strings and insert space in pairs" mean?  This tag is IMO
> unclear, and we should clarify it.

This is a kind of property for pairs (only for strings pairs), that
tells to `electric-pairs` to insert a space before the first pair.

I couldn't find a better way to document this in that limited-size tag.

-- 
                                          - E.G via GNU Emacs and Org.