>>>>> Tassilo Horn <[email protected]> writes:
> Ikumi Keita <[email protected]> writes:
>> AUCTeX already has the following code in `LaTeX-common-initialization'
>> to turn off `electric-pair-mode' explicitly.  

> Oh, I've already forgotten. :-)

>> Thanks. Maybe the attached patch might be better so that
>> `LaTeX-insert-left-brace' can get rid of all unexpected interactions
>> with `self-insert-command'. Tassilo, what do you think about it?

> Ah, yes, that's a a much better idea!  Feel free to install it and undo
> Philip's change which shouldn't be needed anymore when not using
> `self-insert-command'.

I reconsidered it and committed a modification so that
`LaTeX-insert-left-brace' suppresses such interaction only when it
inserts the right delimeter by itself. Now `electric-pair-mode' does its
job when e.g. prefix argument is given.

Regards,
Ikumi Keita



_______________________________________________
bug-auctex mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-auctex

Reply via email to