* textmodes/reftex-vars.el (reftex-label-regexps): Call

`reftex-compile-variables' after changes to this variable.
This commit is contained in:
Tassilo Horn
2013-04-23 17:18:58 +02:00
parent 117f94cf10
commit 0aecf71872
2 changed files with 13 additions and 1 deletions

View File

@@ -1,3 +1,8 @@
2013-04-23 Tassilo Horn <tsdh@gnu.org>
* textmodes/reftex-vars.el (reftex-label-regexps): Call
`reftex-compile-variables' after changes to this variable.
2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
* jit-lock.el: Fix signals in jit-lock-force-redisplay.

View File

@@ -873,7 +873,14 @@ DOWNCASE t: Downcase words before using them."
The default value matches usual \\label{...} definitions and
keyval style [..., label = {...}, ...] label definitions. It is
assumed that the regexp group 1 matches the label text, so you
have to define it using \\(?1:...\\) when adding new regexps."
have to define it using \\(?1:...\\) when adding new regexps.
When changed from Lisp, make sure to call
`reftex-compile-variables' afterwards to make the change
effective."
:set (lambda (symbol value)
(set symbol value)
(reftex-compile-variables))
:group 'reftex-defining-label-environments
:type '(repeat (regexp :tag "Regular Expression")))