]> git.eshelyaron.com Git - emacs.git/commitdiff
Minor fix to my previous changes.
authorTassilo Horn <tassilo@member.fsf.org>
Fri, 27 Jul 2012 17:58:58 +0000 (19:58 +0200)
committerTassilo Horn <tassilo@member.fsf.org>
Fri, 27 Jul 2012 17:58:58 +0000 (19:58 +0200)
lisp/textmodes/reftex.el

index c22703238435c4c9a7d3c738f380507a02a74550..ae2f8fb8ea25d68e4cd3afb2d4e3c53f82c36694 100644 (file)
@@ -1320,7 +1320,7 @@ This enforces rescanning the buffer on next use."
                     "\\)\\([[{][^]}]*[]}]\\)*[[{]\\(%s\\)[]}]"))
            (find-label-re-format
             (concat "\\("
-                   "\\[[^]]*label[[:space:]]*=[[:space:]]*{?\\(?1:[^],}]+\\)}?[^[]*\\]"
+                   "label[[:space:]]*=[[:space:]]*"
                    "\\|"
                     (mapconcat 'regexp-quote (append '("\\label")
                                                      macros-with-labels) "\\|")