* Mosè Giordano (2013-05-25) writes:

> I don't intend to apply any of these changes without further
> discussion, I know they may break something ;-)

Phew. (c;

> For the time being I haven't other ideas.

The problem is that even if `LaTeX-current-environment' is called
outside of a comment, it still finds stuff in a line comment.  If you
call it with point below the \end{bmatrix} in the sample file, it will
find _and_ not ignore the \begin{bmatrix}.

What worked in my case was replacing the second and third occurrences
(not the first one) of `TeX-in-commented-line' with `TeX-in-comment'.
I'm also not sure if this will have negative consequences, though. (c:

-- 
Ralf

_______________________________________________
bug-auctex mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-auctex

Reply via email to