diff options
| author | Tassilo Horn | 2013-04-23 17:18:58 +0200 |
|---|---|---|
| committer | Tassilo Horn | 2013-04-23 17:18:58 +0200 |
| commit | 0aecf7187210975ca211b814752eab72d1ea1f6f (patch) | |
| tree | 1c2550f2f260a637910fd95e9fd0ca4887ed0c3d | |
| parent | 117f94cf109728a2e6f1d506041a741481eeedff (diff) | |
| download | emacs-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/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/textmodes/reftex-vars.el | 9 |
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 @@ | |||
| 1 | 2013-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 | |||
| 1 | 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca> | 6 | 2013-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." | |||
| 873 | The default value matches usual \\label{...} definitions and | 873 | The default value matches usual \\label{...} definitions and |
| 874 | keyval style [..., label = {...}, ...] label definitions. It is | 874 | keyval style [..., label = {...}, ...] label definitions. It is |
| 875 | assumed that the regexp group 1 matches the label text, so you | 875 | assumed that the regexp group 1 matches the label text, so you |
| 876 | have to define it using \\(?1:...\\) when adding new regexps." | 876 | have to define it using \\(?1:...\\) when adding new regexps. |
| 877 | |||
| 878 | When changed from Lisp, make sure to call | ||
| 879 | `reftex-compile-variables' afterwards to make the change | ||
| 880 | effective." | ||
| 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 | ||