diff options
Diffstat (limited to 'macros/latex/contrib/l3kernel/l3basics.dtx')
-rw-r--r-- | macros/latex/contrib/l3kernel/l3basics.dtx | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/macros/latex/contrib/l3kernel/l3basics.dtx b/macros/latex/contrib/l3kernel/l3basics.dtx index 0bfa11edaf..67bd4b8791 100644 --- a/macros/latex/contrib/l3kernel/l3basics.dtx +++ b/macros/latex/contrib/l3kernel/l3basics.dtx @@ -43,7 +43,7 @@ % }^^A % } % -% \date{Released 2024-02-18} +% \date{Released 2024-02-20} % % \maketitle % @@ -1849,13 +1849,15 @@ % \begin{macrocode} \cs_set_protected:Npn \debug_on:n #1 { - \sys_load_debug: - \debug_on:n {#1} + \sys_load_debug: + \cs_if_exist:NT \@@_all_on: + { \debug_on:n {#1} } } \cs_set_protected:Npn \debug_off:n #1 { \sys_load_debug: - \debug_off:n {#1} + \cs_if_exist:NT \@@_all_on: + { \debug_off:n {#1} } } % \end{macrocode} % \end{macro} |