[Top][All Lists]

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

[Bug-AUCTeX] LaTeX-indent-calculate

From: Bernd Rellermeyer
Subject: [Bug-AUCTeX] LaTeX-indent-calculate
Date: Sun, 15 Jul 2012 13:06:29 +0200

Another thing: The function LaTeX-indent-calculate returns -2 for 
\end{document}. Maybe something like:

         ((looking-at (concat (regexp-quote TeX-esc) "\\("
                              LaTeX-end-regexp " *{\\("
                              LaTeX-document-regexp "\\)}\\)"))
          (LaTeX-indent-calculate-last force-type)))

should be inserted.

And the LaTeX-document-regexp should be set to "document\\|letter".

reply via email to

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