diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/l3kernel/l3basics.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/l3kernel/l3basics.sty | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/latex/l3kernel/l3basics.sty b/Master/texmf-dist/tex/latex/l3kernel/l3basics.sty index ea2bafefc9e..2a432c83b9e 100644 --- a/Master/texmf-dist/tex/latex/l3kernel/l3basics.sty +++ b/Master/texmf-dist/tex/latex/l3kernel/l3basics.sty @@ -46,7 +46,7 @@ %% %% ----------------------------------------------------------------------- \RequirePackage{l3names} -\GetIdInfo$Id: l3basics.dtx 2817 2011-09-12 14:16:56Z joseph $ +\GetIdInfo$Id: l3basics.dtx 2896 2011-10-09 20:36:50Z joseph $ {L3 Experimental basic definitions} \ProvidesExplPackage {\ExplFileName}{\ExplFileDate}{\ExplFileVersion}{\ExplFileDescription} @@ -457,7 +457,7 @@ { \token_to_str:N #1 } { \token_to_meaning:N #1 } } } -\tex_ifodd:D \@l@expl@log@functions@bool +\tex_ifodd:D \l@expl@log@functions@bool \cs_set_protected_nopar:Npn \chk_if_free_cs:N #1 { \cs_if_free:NF #1 @@ -541,7 +541,14 @@ \cs_new_protected_nopar:Npn \cs_undefine:N #1 { \cs_gset_eq:NN #1 \c_undefined:D } \cs_new_protected_nopar:Npn \cs_undefine:c #1 - { \cs_gset_eq:cN {#1} \c_undefined:D } + { + \if_cs_exist:w #1 \cs_end: + \exp_after:wN \use:n + \else: + \exp_after:wN \use_none:n + \fi: + { \cs_gset_eq:cN {#1} \c_undefined:D } + } \cs_new:Npn \cs_get_arg_count_from_signature:N #1 { \cs_split_function:NN #1 \cs_get_arg_count_from_signature_aux:nnN } \cs_new:Npn \cs_get_arg_count_from_signature_aux:nnN #1#2#3 |