help-emacs-windows
[Top][All Lists]
Advanced

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

[h-e-w] Bug in mathtools.el - elpa\auctex-11.88


From: gojjoe
Subject: [h-e-w] Bug in mathtools.el - elpa\auctex-11.88
Date: Thu, 20 Nov 2014 22:39:27 +0100
User-agent: Thunderbird/666

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



reply via email to

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