The current AUCTeX
behaviour for primitive tex
code involving if-like statements is to indent the conditional statement at the same level as the surrounding condition. I.e. code such as
\if@sometoggle%
\dosomething%
\else%
\doanotherthing%
\fi%
appears as a big block of text. I would like to make AUCTeX
indent the snippet as follows:
\if@sometoggle%
\dosomething%
\else%
\doanotherthing%
\fi%
Is this possible?