]> git.eshelyaron.com Git - emacs.git/commitdiff
* textmodes/reftex.el (reftex-compile-variables): Make keyvals
authorTassilo Horn <tsdh@gnu.org>
Fri, 3 Aug 2012 06:47:32 +0000 (08:47 +0200)
committerTassilo Horn <tsdh@gnu.org>
Fri, 3 Aug 2012 06:47:32 +0000 (08:47 +0200)
labels regex position point at the expected place.

lisp/ChangeLog
lisp/textmodes/reftex.el

index 0adcff8e477f368a96c4a697b9f640fb5f42d00d..8d449a05934616c445518afb37a0d81c2b078815 100644 (file)
@@ -1,3 +1,8 @@
+2012-08-03  Tassilo Horn  <tsdh@gnu.org>
+
+       * textmodes/reftex.el (reftex-compile-variables): Make keyvals
+       labels regex position point at the expected place.
+
 2012-08-03  MON KEY  <monkey@sandpframing.com>
 
        * net/imap.el (imap-interactive-login, imap-authenticate)
index ae2f8fb8ea25d68e4cd3afb2d4e3c53f82c36694..d8afb3e5544404e709b12419985bd406c87f22e9 100644 (file)
@@ -1291,7 +1291,7 @@ This enforces rescanning the buffer on next use."
                             ;; keyvals [..., label = {foo}, ...]
                             ;; forms used by ctable, listings,
                             ;; minted, ...
-                            "\\[[^]]*label[[:space:]]*=[[:space:]]*{?\\(?1:[^],}]+\\)}?[^[]*\\]"
+                            "\\[[^]]*label[[:space:]]*=[[:space:]]*{?\\(?1:[^],}]+\\)}?"
                             "\\)"))
            (include-re (concat wbol
                                "\\\\\\("