diff options
author | Tassilo Horn <tsdh@gnu.org> | 2013-04-23 17:18:58 +0200 |
---|---|---|
committer | Tassilo Horn <tsdh@gnu.org> | 2013-04-23 17:18:58 +0200 |
commit | 0aecf7187210975ca211b814752eab72d1ea1f6f (patch) | |
tree | 1c2550f2f260a637910fd95e9fd0ca4887ed0c3d /lisp/textmodes/reftex-vars.el | |
parent | 117f94cf109728a2e6f1d506041a741481eeedff (diff) | |
download | emacs-0aecf7187210975ca211b814752eab72d1ea1f6f.tar.gz |
* textmodes/reftex-vars.el (reftex-label-regexps): Call
`reftex-compile-variables' after changes to this variable.
Diffstat (limited to 'lisp/textmodes/reftex-vars.el')
-rw-r--r-- | lisp/textmodes/reftex-vars.el | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/lisp/textmodes/reftex-vars.el b/lisp/textmodes/reftex-vars.el index c00cf36c79e..a220002286e 100644 --- a/lisp/textmodes/reftex-vars.el +++ b/lisp/textmodes/reftex-vars.el @@ -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"))) |