diff options
| author | Tassilo Horn | 2015-02-25 11:45:20 +0100 |
|---|---|---|
| committer | Tassilo Horn | 2015-02-25 11:45:20 +0100 |
| commit | dcd4830cb9b716c0d055df84f5106b14585eb879 (patch) | |
| tree | 06f6fc444683a3613b2f0aaea7d1f8819f7654f6 | |
| parent | 8bb64d2722632fcc2b7c816e5f85d64ff10161f9 (diff) | |
| download | emacs-dcd4830cb9b716c0d055df84f5106b14585eb879.tar.gz emacs-dcd4830cb9b716c0d055df84f5106b14585eb879.zip | |
Handle customizations of reftex-include-file-commands
* reftex.texi (Multifile Documents): Document
reftex-include-file-commands.
(Options): Mention that non-customize changes might require
calling reftex-compile-variables.
* textmodes/reftex-vars.el (reftex-include-file-commands): Call
reftex-set-dirty on changes.
| -rw-r--r-- | doc/misc/ChangeLog | 7 | ||||
| -rw-r--r-- | doc/misc/reftex.texi | 10 | ||||
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/textmodes/reftex-vars.el | 1 |
4 files changed, 23 insertions, 0 deletions
diff --git a/doc/misc/ChangeLog b/doc/misc/ChangeLog index d04a8bbb083..448c7f26c1a 100644 --- a/doc/misc/ChangeLog +++ b/doc/misc/ChangeLog | |||
| @@ -1,3 +1,10 @@ | |||
| 1 | 2015-02-25 Tassilo Horn <tsdh@gnu.org> | ||
| 2 | |||
| 3 | * reftex.texi (Multifile Documents): Document | ||
| 4 | reftex-include-file-commands. | ||
| 5 | (Options): Mention that non-customize changes might require | ||
| 6 | calling reftex-compile-variables. | ||
| 7 | |||
| 1 | 2015-02-21 Paul Eggert <eggert@cs.ucla.edu> | 8 | 2015-02-21 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 9 | ||
| 3 | * texinfo.tex: Update from gnulib. | 10 | * texinfo.tex: Update from gnulib. |
diff --git a/doc/misc/reftex.texi b/doc/misc/reftex.texi index 567063f2c3b..facfb4376db 100644 --- a/doc/misc/reftex.texi +++ b/doc/misc/reftex.texi | |||
| @@ -2961,6 +2961,12 @@ label itself in order to be processed correctly by @RefTeX{}. The only | |||
| 2961 | exception is that section labels referring to a section statement | 2961 | exception is that section labels referring to a section statement |
| 2962 | outside the current file can still use that section title as | 2962 | outside the current file can still use that section title as |
| 2963 | context. | 2963 | context. |
| 2964 | |||
| 2965 | @item | ||
| 2966 | @vindex reftex-include-file-commands | ||
| 2967 | @RefTeX{} knows about the @code{\include} and @code{\input} macros. | ||
| 2968 | In case you use different commands to include files in a multifile | ||
| 2969 | document, customize the variable @code{reftex-include-file-commands}. | ||
| 2964 | @end itemize | 2970 | @end itemize |
| 2965 | 2971 | ||
| 2966 | @node Language Support | 2972 | @node Language Support |
| @@ -3893,6 +3899,10 @@ Lisp (and even if you are) you might find it more comfortable to use | |||
| 3893 | @code{customize} to look at and change these variables. @kbd{M-x | 3899 | @code{customize} to look at and change these variables. @kbd{M-x |
| 3894 | reftex-customize} will get you there. | 3900 | reftex-customize} will get you there. |
| 3895 | 3901 | ||
| 3902 | In case you don't use the @code{customize} interface, here's a caveat: | ||
| 3903 | Changing (mostly parsing-related) options might require a call to | ||
| 3904 | @code{reftex-compile-variables} in order to become effective. | ||
| 3905 | |||
| 3896 | @menu | 3906 | @menu |
| 3897 | * Options - Table of Contents:: | 3907 | * Options - Table of Contents:: |
| 3898 | * Options - Defining Label Environments:: | 3908 | * Options - Defining Label Environments:: |
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index fc2893e1c1d..fb8b1f7fc94 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2015-02-25 Tassilo Horn <tsdh@gnu.org> | ||
| 2 | |||
| 3 | * textmodes/reftex-vars.el (reftex-include-file-commands): Call | ||
| 4 | reftex-set-dirty on changes. | ||
| 5 | |||
| 1 | 2015-02-25 Stefan Monnier <monnier@iro.umontreal.ca> | 6 | 2015-02-25 Stefan Monnier <monnier@iro.umontreal.ca> |
| 2 | 7 | ||
| 3 | * emacs-lisp/edebug.el (edebug--display): Save-excursion (bug#19611). | 8 | * emacs-lisp/edebug.el (edebug--display): Save-excursion (bug#19611). |
diff --git a/lisp/textmodes/reftex-vars.el b/lisp/textmodes/reftex-vars.el index 115c1e0cde4..7fe6882d3ca 100644 --- a/lisp/textmodes/reftex-vars.el +++ b/lisp/textmodes/reftex-vars.el | |||
| @@ -263,6 +263,7 @@ distribution. Mixed-case symbols are convenience aliases.") | |||
| 263 | The file name is expected after the command, either in braces or separated | 263 | The file name is expected after the command, either in braces or separated |
| 264 | by whitespace." | 264 | by whitespace." |
| 265 | :group 'reftex-table-of-contents-browser | 265 | :group 'reftex-table-of-contents-browser |
| 266 | :set 'reftex-set-dirty | ||
| 266 | :type '(repeat string)) | 267 | :type '(repeat string)) |
| 267 | 268 | ||
| 268 | (defcustom reftex-max-section-depth 12 | 269 | (defcustom reftex-max-section-depth 12 |