[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: electric pair mode and latex
From: |
Laurent Hoeltgen |
Subject: |
Re: electric pair mode and latex |
Date: |
Wed, 20 Jun 2012 09:23:38 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux i686; rv:13.0) Gecko/20120615 Thunderbird/13.0.1 |
On 06/20/2012 07:50 AM, Jeremiah Dodds wrote:
> Laurent Hoeltgen <hoeltgman@gmail.com> writes:
>
>> Hi,
>>
>> electric pair mode automatically closes parentheses like (,[,{,... Can I
>> customize this such that when I edit a latex document it also closes
>> expressions like \left( with \right)?
>>
>> Regards,
>> Laurent
>
> Yup, see 'electric-pair-pairs'
>
Hi,
if I try to change this option (through the customize interface) by
adding \left( and \right) to the list, emacs complains with the
following message:
Saving electric-pair-pairs: This field should contain a single character.
Regards,
Laurent