emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master dcd4830: Handle customizations of reftex-include-fi


From: Tassilo Horn
Subject: [Emacs-diffs] master dcd4830: Handle customizations of reftex-include-file-commands
Date: Wed, 25 Feb 2015 10:46:30 +0000

branch: master
commit dcd4830cb9b716c0d055df84f5106b14585eb879
Author: Tassilo Horn <address@hidden>
Commit: Tassilo Horn <address@hidden>

    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.
---
 doc/misc/ChangeLog            |    7 +++++++
 doc/misc/reftex.texi          |   10 ++++++++++
 lisp/ChangeLog                |    5 +++++
 lisp/textmodes/reftex-vars.el |    1 +
 4 files changed, 23 insertions(+), 0 deletions(-)

diff --git a/doc/misc/ChangeLog b/doc/misc/ChangeLog
index d04a8bb..448c7f2 100644
--- a/doc/misc/ChangeLog
+++ b/doc/misc/ChangeLog
@@ -1,3 +1,10 @@
+2015-02-25  Tassilo Horn  <address@hidden>
+
+       * reftex.texi (Multifile Documents): Document
+       reftex-include-file-commands.
+       (Options): Mention that non-customize changes might require
+       calling reftex-compile-variables.
+
 2015-02-21  Paul Eggert  <address@hidden>
 
        * texinfo.tex: Update from gnulib.
diff --git a/doc/misc/reftex.texi b/doc/misc/reftex.texi
index 567063f..facfb43 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
 exception is that section labels referring to a section statement
 outside the current file can still use that section title as
 context.
+
address@hidden
address@hidden reftex-include-file-commands
address@hidden knows about the @code{\include} and @code{\input} macros.
+In case you use different commands to include files in a multifile
+document, customize the variable @code{reftex-include-file-commands}.
 @end itemize
 
 @node Language Support
@@ -3893,6 +3899,10 @@ Lisp (and even if you are) you might find it more 
comfortable to use
 @code{customize} to look at and change these variables. @kbd{M-x
 reftex-customize} will get you there.
 
+In case you don't use the @code{customize} interface, here's a caveat:
+Changing (mostly parsing-related) options might require a call to
address@hidden in order to become effective.
+
 @menu
 * Options - Table of Contents::
 * Options - Defining Label Environments::
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index fc2893e..fb8b1f7 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
+2015-02-25  Tassilo Horn  <address@hidden>
+
+       * textmodes/reftex-vars.el (reftex-include-file-commands): Call
+       reftex-set-dirty on changes.
+
 2015-02-25  Stefan Monnier  <address@hidden>
 
        * 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 115c1e0..7fe6882 100644
--- a/lisp/textmodes/reftex-vars.el
+++ b/lisp/textmodes/reftex-vars.el
@@ -263,6 +263,7 @@ distribution.  Mixed-case symbols are convenience aliases.")
 The file name is expected after the command, either in braces or separated
 by whitespace."
   :group 'reftex-table-of-contents-browser
+  :set 'reftex-set-dirty
   :type '(repeat string))
 
 (defcustom reftex-max-section-depth 12



reply via email to

[Prev in Thread] Current Thread [Next in Thread]