help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

auctex and parentheses for optional arguments


From: nic . d . m . 1
Subject: auctex and parentheses for optional arguments
Date: Sat, 9 May 2009 13:05:36 -0700 (PDT)
User-agent: G2/1.0

Hi!

I have the following problem with auctex:

If I define a new command, for example

\newcommand{\test}[1][default]{#1}

and I press C-c C-m \test

auctex inserts

\test{}

But I want that auctex inserts

\test[]

to get the correct parenthesis for optional arguments.

Any ideas?

Thanks in advance
nic


reply via email to

[Prev in Thread] Current Thread [Next in Thread]