Bug in mathtools.el - elpa\auctex-11.88

[email protected]
Newsgroups gmane.emacs.windows
Message-ID <[email protected]>
Hi guys,

I just wanted to report a little bug in mathtools.el shipped 
with ELPA auctex-11.88:

Lines 165-169 have:

    (setq LaTeX-label-alist
	 (append '(("lgathered"    . LaTeX-amsmath-label)
		   ("rgathered"   . LaTeX-amsmath-label)
		   ("multlined"    . LaTeX-amsmath-label)
		   LaTeX-label-alist))))

but the quote-closing paren seems misplaced. They should be, 
I believe,

    (setq LaTeX-label-alist
	 (append '(("lgathered"    . LaTeX-amsmath-label)
		   ("rgathered"   . LaTeX-amsmath-label)
		   ("multlined"    . LaTeX-amsmath-label))
		   LaTeX-label-alist)))

or even better?:

    (setq LaTeX-label-alist
	 (append LaTeX-label-alist
                  '(("lgathered"    . LaTeX-amsmath-label)
		   ("rgathered"   . LaTeX-amsmath-label)
		   ("multlined"    . LaTeX-amsmath-label)))))


The misplaced parenthesis causes many math environments, 
including 'equation', not to prompt for labels when using 
reftex.

Thank you all for the superb ELPA.

Cheers,
G
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.