[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [AUCTeX-devel] tabelofcontents has a {}
From: |
Mosè Giordano |
Subject: |
Re: [AUCTeX-devel] tabelofcontents has a {} |
Date: |
Tue, 30 May 2017 17:54:51 +0200 |
Hi Uwe,
2017-05-30 17:50 GMT+02:00 Uwe Brauer <address@hidden>:
> Hi
>
> I never thought about it, but if I use
> TeX-insert-macro
> RET
> tableofcontents
>
> \tableofcontents{}
>
> Is inserted. What is the use of the brackets {}?
> It looks to me as there is a tiny bug.
Most macros without arguments insert a pair of empty brackets. In
most cases this does no harm (as in this one, right?). Only a few
commands for which the empty group should not be there are instructed
to not insert it.
Bye,
Mosè