auctex-devel
[Top][All Lists]
Advanced

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

[AUCTeX-devel] Found a bug in subfigure.el


From: Robert Goldman
Subject: [AUCTeX-devel] Found a bug in subfigure.el
Date: Fri, 2 Dec 2016 18:10:34 -0600
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:45.0) Gecko/20100101 Thunderbird/45.5.0

This is from the version of AuCTeX I got with Aquamacs, so maybe it has
been fixed upstream.  Here's the bug:

   ;; Install completion for labels:
   (setq TeX-complete-list
         (append
          '(("\\\\[Ss]ubref{\\([^{}\n\r\\%,]*\\)" 1 LaTeX-label-list "}")))
          TeX-complete-list)

The append call has an extra parenthesis after its first argument,
turning this into an ill-formed trinary SETQ instead of correctly adding
a sublist to the head of TeX-complete-list.

HtH,
r



reply via email to

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