summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/l3kernel/l3doc.cls
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2016-04-21 20:56:35 +0000
committerKarl Berry <karl@freefriends.org>2016-04-21 20:56:35 +0000
commita25cbbbb685bf98f9df75cb08131ea8f4e0f7e79 (patch)
tree0258b6ea1aeda5aefacec1cfc5fc040a1d7cfe8b /Master/texmf-dist/tex/latex/l3kernel/l3doc.cls
parent60c97fceef9abdc952329cd66318bbde2cfbc6de (diff)
l3 (21apr16)
git-svn-id: svn://tug.org/texlive/trunk@40657 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/l3kernel/l3doc.cls')
-rw-r--r--Master/texmf-dist/tex/latex/l3kernel/l3doc.cls21
1 files changed, 10 insertions, 11 deletions
diff --git a/Master/texmf-dist/tex/latex/l3kernel/l3doc.cls b/Master/texmf-dist/tex/latex/l3kernel/l3doc.cls
index 05d51452e27..aa9ac162b60 100644
--- a/Master/texmf-dist/tex/latex/l3kernel/l3doc.cls
+++ b/Master/texmf-dist/tex/latex/l3kernel/l3doc.cls
@@ -50,7 +50,7 @@
\let \fileversionOld \ExplFileVersion
\let \filedescriptionOld \ExplFileDescription
\RequirePackage{expl3,xparse,calc}
-\GetIdInfo$Id: l3doc.dtx 6448 2016-03-25 12:27:53Z bruno $
+\GetIdInfo$Id: l3doc.dtx 6474 2016-04-11 18:09:21Z qinglee $
{L3 Experimental documentation class}
\ProvidesExplClass
{\ExplFileName}{\ExplFileDate}{\ExplFileVersion}{\ExplFileDescription}
@@ -934,7 +934,6 @@
\cs_new_protected:Npn \__codedoc_macro_single:n #1
{
\tl_set:Nn \saved@macroname {#1}
-
\__codedoc_macro_typeset_one:n {#1}
\exp_args:Nx \__codedoc_macro_index:n
{
@@ -946,15 +945,15 @@
{
\bool_if:NF \l__codedoc_macro_aux_bool
{ \seq_gput_right:Nn \g_doc_macros_seq {#1} }
- \hbox_set:Nn \l__codedoc_macro_index_box
- {
- % This box only contains targets... it seems inefficient.
- \hbox_unpack_clear:N \l__codedoc_macro_index_box
- \int_gincr:N \c@CodelineNo
- \__codedoc_special_index:nn {#1} { main }
- \DoNotIndex {#1}
- \int_gdecr:N \c@CodelineNo
- }
+ \hbox_set:Nw \l__codedoc_macro_index_box
+ % This box only contains targets... it seems inefficient.
+ \hbox_unpack_clear:N \l__codedoc_macro_index_box
+ \int_gincr:N \c@CodelineNo
+ \__codedoc_special_index:nn {#1} { main }
+ \DoNotIndex {#1}
+ \int_gdecr:N \c@CodelineNo
+ \exp_args:NNNo \hbox_set_end:
+ \tl_set:Nn \saved@indexname { \l__codedoc_index_key_tl }
}
\cs_new_protected:Npn \__codedoc_macro_typeset_one:n #1
{