[latex3-commits] [l3svn] r6676 - l3doc bugfix: the module (for the index) was cleared by default

noreply at latex-project.org noreply at latex-project.org
Thu Aug 18 20:31:23 CEST 2016


Author: bruno
Date: 2016-08-18 20:31:23 +0200 (Thu, 18 Aug 2016)
New Revision: 6676

Modified:
   trunk/l3kernel/l3doc.dtx
Log:
l3doc bugfix: the module (for the index) was cleared by default

Since giving the option [module=] to a macro environment informs
the indexing code to put these macros at the top-level index, I
set the underlying token list to \q_no_value to indicate "use
default code", but forgot to initialize it.


Modified: trunk/l3kernel/l3doc.dtx
===================================================================
--- trunk/l3kernel/l3doc.dtx	2016-08-18 14:41:55 UTC (rev 6675)
+++ trunk/l3kernel/l3doc.dtx	2016-08-18 18:31:23 UTC (rev 6676)
@@ -667,7 +667,8 @@
 %     \l_@@_override_module_tl,
 %   }
 %   Contain information about some options of function/macro
-%   environments:
+%   environments.  We initialize \cs{l_@@_override_module_tl} to avoid
+%   overriding module names by an empty name (meaning no module).
 %    \begin{macrocode}
 \bool_new:N \l_@@_macro_internal_bool
 \bool_new:N \l_@@_macro_aux_bool
@@ -677,6 +678,7 @@
 \bool_new:N \l_@@_macro_rEXP_bool
 \bool_new:N \l_@@_macro_var_bool
 \tl_new:N \l_@@_override_module_tl
+\tl_set:Nn \l_@@_override_module_tl { \q_no_value }
 %    \end{macrocode}
 % \end{variable}
 %



More information about the latex3-commits mailing list