Hi Jean,
Please consider customizing the option `LaTeX-insert-into-comments'.
You will get
\documentclass{article}
\begin{document}
\begin{verbatim}
% This is a comment
\def\foo#1{foo}
% another comment
\end{verbatim}
\end{document}
after the option is set to nil.
Regards,
Ikumi Keita
>>>>> jfbu <[email protected]> writes:
> Consider this source
> \documentclass{article}
> \begin{document}
> % This is a comment
> \def\foo#1{foo}
> % another comment
> \end{document}
> Select the three lines delimited by the document environment
> Hit C-cC-e verbatim
> Result:
> \documentclass{article}
> \begin{document}
> % \begin{verbatim}
> % This is a comment
> \def\foo#1{foo}
> % another comment
> % \end{verbatim}
> % \end{document}
_______________________________________________
bug-auctex mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-auctex