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.

Andrew Swann

-- 
Andrew Swann | Associate Professor | Tel +45 871 55767 | [email protected]
| http://home.imf.au.dk/swann/ | Department of Mathematics, Aarhus
University, Ny Munkegade 118, Bldg 1530, DK-8000 Aarhus C, Denmark | Dept
+45 871 50000 | Fax +45 8613 1769



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

Reply via email to