From: Tassilo Horn Date: Fri, 3 Aug 2012 06:47:32 +0000 (+0200) Subject: * textmodes/reftex.el (reftex-compile-variables): Make keyvals X-Git-Tag: emacs-24.2.90~880 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=b9e74744d6f6a756efe2e944b3a427e28169ad16;p=emacs.git * textmodes/reftex.el (reftex-compile-variables): Make keyvals labels regex position point at the expected place. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 0adcff8e477..8d449a05934 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2012-08-03 Tassilo Horn + + * textmodes/reftex.el (reftex-compile-variables): Make keyvals + labels regex position point at the expected place. + 2012-08-03 MON KEY * net/imap.el (imap-interactive-login, imap-authenticate) diff --git a/lisp/textmodes/reftex.el b/lisp/textmodes/reftex.el index ae2f8fb8ea2..d8afb3e5544 100644 --- a/lisp/textmodes/reftex.el +++ b/lisp/textmodes/reftex.el @@ -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 "\\\\\\("