Hi Andrew,

2014-12-07 19:27 GMT+01:00 Andrew Francis Swann <[email protected]>:
> mathtools.el of 2011-02-13 has small typo in TeX-add-style-hook.  There we
> have
>
> (setq LaTeX-label-alist
>          (append '(("lgathered"    . LaTeX-amsmath-label)
>                    ("rgathered"   . LaTeX-amsmath-label)
>                    ("multlined"    . LaTeX-amsmath-label)
>                    LaTeX-label-alist))))
>
> which has the last LaTeX-label-alist included in the quote.  It ought to be
>
> (setq LaTeX-label-alist
>          (append '(("lgathered"    . LaTeX-amsmath-label)
>                    ("rgathered"   . LaTeX-amsmath-label)
>                    ("multlined"    . LaTeX-amsmath-label))
>                    LaTeX-label-alist)))
>
>
> with one closing bracket moved from the last to the penultimate line.
>
> One symptom of the miscoding is that addition of labels does not work as
> expected.

thanks for the report!  The bug has been fixed with commit

    8c6a5ae [Fix #19301] Fix closing bracket in style/mathtools.el.

Bye,
Mosè



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

Reply via email to