Hi Denis,

>>>>> Denis Bitouzé <dbito...@wanadoo.fr> writes:
>> Have you set `TeX-insert-braces' to t?

> Well, I don't think so: I couldn't find `TeX-insert-braces' neither in
> `emacs-leuven':

>   ┌────
>   │ http://emacs-leuven.readthedocs.io/en/latest/
>   └────

> nor in my `.emacs'.

The default value of `TeX-insert-braces' is t, so I suppose that the
option has a value of t on your machine.

>> In this case, AUCTeX will insert a pair of empty braces.

> Is `TeX-insert-braces' the only one which inserts a pair of empty
> braces? Because, with my current configuration, even with a dummy
> command:

>   ┌────
>   │ C-c RET foo RET
>   └────

> inserts \foo{}.

That's the effect of `TeX-insert-braces' being t.  If you customize it
to nil, the empty braces don't appear.

Regards,
Ikumi Keita

_______________________________________________
auctex mailing list
auctex@gnu.org
https://lists.gnu.org/mailman/listinfo/auctex

Reply via email to