From: Tassilo Horn Date: Thu, 29 Jan 2015 14:51:40 +0000 (+0100) Subject: Restore XEmacs compatibility X-Git-Tag: emacs-24.4.90~26 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c4c447d;p=emacs.git Restore XEmacs compatibility * textmodes/reftex-vars.el (featurep): Conditionalize value of reftex-label-regexps in order to stay compatible with XEmacs 25 which has no explicitly numbered groups in regexps (bug#19714). --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 2c852f9a40a..2811556c71c 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,9 @@ +2015-01-29 Tassilo Horn + + * textmodes/reftex-vars.el (featurep): Conditionalize value of + reftex-label-regexps in order to stay compatible with XEmacs 25 + which has no explicitly numbered groups in regexps (bug#19714). + 2015-01-28 Tassilo Horn * textmodes/reftex.el (reftex-syntax-table-for-bib): Give ( and ) diff --git a/lisp/textmodes/reftex-vars.el b/lisp/textmodes/reftex-vars.el index 115c1e0cde4..96d76fb011b 100644 --- a/lisp/textmodes/reftex-vars.el +++ b/lisp/textmodes/reftex-vars.el @@ -866,13 +866,17 @@ DOWNCASE t: Downcase words before using them." (string :tag "")) (option (boolean :tag "Downcase words ")))) -(defcustom reftex-label-regexps - '(;; Normal \\label{foo} labels - "\\\\label{\\(?1:[^}]*\\)}" - ;; keyvals [..., label = {foo}, ...] forms used by ctable, - ;; listings, minted, ... - "\\[[^]]*\\