aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTassilo Horn2013-04-23 17:18:58 +0200
committerTassilo Horn2013-04-23 17:18:58 +0200
commit0aecf7187210975ca211b814752eab72d1ea1f6f (patch)
tree1c2550f2f260a637910fd95e9fd0ca4887ed0c3d
parent117f94cf109728a2e6f1d506041a741481eeedff (diff)
downloademacs-0aecf7187210975ca211b814752eab72d1ea1f6f.tar.gz
emacs-0aecf7187210975ca211b814752eab72d1ea1f6f.zip
* textmodes/reftex-vars.el (reftex-label-regexps): Call
`reftex-compile-variables' after changes to this variable.
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/textmodes/reftex-vars.el9
2 files changed, 13 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 4307577950f..d299aeead49 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12013-04-23 Tassilo Horn <tsdh@gnu.org>
2
3 * textmodes/reftex-vars.el (reftex-label-regexps): Call
4 `reftex-compile-variables' after changes to this variable.
5
12013-04-23 Stefan Monnier <monnier@iro.umontreal.ca> 62013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
2 7
3 * jit-lock.el: Fix signals in jit-lock-force-redisplay. 8 * jit-lock.el: Fix signals in jit-lock-force-redisplay.
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."
873The default value matches usual \\label{...} definitions and 873The default value matches usual \\label{...} definitions and
874keyval style [..., label = {...}, ...] label definitions. It is 874keyval style [..., label = {...}, ...] label definitions. It is
875assumed that the regexp group 1 matches the label text, so you 875assumed that the regexp group 1 matches the label text, so you
876have to define it using \\(?1:...\\) when adding new regexps." 876have to define it using \\(?1:...\\) when adding new regexps.
877
878When changed from Lisp, make sure to call
879`reftex-compile-variables' afterwards to make the change
880effective."
881 :set (lambda (symbol value)
882 (set symbol value)
883 (reftex-compile-variables))
877 :group 'reftex-defining-label-environments 884 :group 'reftex-defining-label-environments
878 :type '(repeat (regexp :tag "Regular Expression"))) 885 :type '(repeat (regexp :tag "Regular Expression")))
879 886