In AucTeX, new item in itemized list after comment results in commented next item

Posted by stevejb on Stack Overflow See other posts from Stack Overflow or by stevejb
Published on 2010-05-02T15:30:45Z Indexed on 2010/05/02 17:38 UTC
Read the original article Hit count: 338

Filed under:
|
|

In AucTeX, when editing an itemized list:

\begin{itemize}
 \item My item % note to self
\end{itemize}

when I do C-c C-j after 'self' I get:

\begin{itemize}
 \item My item % note to self
 % \item
\end{itemize}

when I want:

\begin{itemize}
 \item My item % note to self
 \item
\end{itemize}

Is there a setting a can modify to make this work correctly?

© Stack Overflow or respective owner

Related posts about emacs

Related posts about auctex