[latex3-commits] [latex3/latex3] main: Move \sys_everyjob: to kernel-internal (77258b912)

github at latex-project.org github at latex-project.org
Mon Nov 27 10:41:38 CET 2023


Repository : https://github.com/latex3/latex3
On branch  : main
Link       : https://github.com/latex3/latex3/commit/77258b91226d186c16e6353058e9732f193a5c65

>---------------------------------------------------------------

commit 77258b91226d186c16e6353058e9732f193a5c65
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Mon Nov 27 09:41:38 2023 +0000

    Move \sys_everyjob: to kernel-internal
    
    See #1345: this one was never documented so
    should not be regarded as a deprecation.


>---------------------------------------------------------------

77258b91226d186c16e6353058e9732f193a5c65
 l3kernel/expl3.dtx              | 6 +++---
 l3kernel/l3kernel-functions.dtx | 7 +++++++
 l3kernel/l3sys.dtx              | 4 ++--
 3 files changed, 12 insertions(+), 5 deletions(-)

diff --git a/l3kernel/expl3.dtx b/l3kernel/expl3.dtx
index 0dec13d62..9d5b65948 100644
--- a/l3kernel/expl3.dtx
+++ b/l3kernel/expl3.dtx
@@ -1510,10 +1510,10 @@
     \tex_everyjob:D \exp_after:wN
       {
         \tex_the:D \tex_everyjob:D
-        \sys_everyjob:
+        \__kernel_sys_everyjob:
       }
   }
-  { \sys_everyjob: }
+  { \__kernel_sys_everyjob: }
 %    \end{macrocode}
 %
 % \begin{variable}{\s_@@_stop}
@@ -1759,7 +1759,7 @@
 % \begin{macro}{\g__kernel_backend_header_bool}
 % Load the dynamic code and standard back-end.
 %    \begin{macrocode}
-\sys_everyjob:
+\__kernel_sys_everyjob:
 \bool_new:N \g__kernel_backend_header_bool
 \bool_gset_true:N \g__kernel_backend_header_bool
 \sys_load_backend:n { }
diff --git a/l3kernel/l3kernel-functions.dtx b/l3kernel/l3kernel-functions.dtx
index a07c55d7f..733b06b47 100644
--- a/l3kernel/l3kernel-functions.dtx
+++ b/l3kernel/l3kernel-functions.dtx
@@ -415,6 +415,13 @@
 %   are errors, and in such case the definition is aborted.
 % \end{function}
 %
+% \begin{function}{\__kernel_sys_everyjob:}
+%   \begin{syntax}
+%     \cs{__kernel_sys_everyjob:}
+%   \end{syntax}
+%   Inserts the internal token list required at the start of every run (job).
+% \end{function}
+%
 % \begin{variable}{\c__kernel_randint_max_int}
 %   Maximal allowed argument to \cs{__kernel_randint:n}.  Equal to
 %   $2^{17}-1$.
diff --git a/l3kernel/l3sys.dtx b/l3kernel/l3sys.dtx
index afee85e9e..a3b49e777 100644
--- a/l3kernel/l3sys.dtx
+++ b/l3kernel/l3sys.dtx
@@ -866,11 +866,11 @@ end
 %
 % \subsection{Dynamic (every job) code}
 %
-% \begin{macro}{\sys_everyjob:}
+% \begin{macro}{\__kernel_sys_everyjob:}
 % \begin{macro}{\@@_everyjob:n}
 % \begin{variable}{\g_@@_everyjob_tl}
 %    \begin{macrocode}
-\cs_new_protected:Npn \sys_everyjob:
+\cs_new_protected:Npn \__kernel_sys_everyjob:
   {
     \tl_use:N \g_@@_everyjob_tl
     \tl_gclear:N \g_@@_everyjob_tl





More information about the latex3-commits mailing list.