[latex3-commits] [git/LaTeX3-latex3-latex3] options: Updated names (fce42e08c)

Joseph Wright joseph.wright at morningstar2.co.uk
Fri Nov 26 11:51:01 CET 2021


Repository : https://github.com/latex3/latex3
On branch  : options
Link       : https://github.com/latex3/latex3/commit/fce42e08cbddb9691d0a9c02295ba909d9c1185f

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

commit fce42e08cbddb9691d0a9c02295ba909d9c1185f
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Fri Nov 26 10:51:01 2021 +0000

    Updated names


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

fce42e08cbddb9691d0a9c02295ba909d9c1185f
 l3kernel/l3keys.dtx | 42 +++++++++++++++++++++---------------------
 1 file changed, 21 insertions(+), 21 deletions(-)

diff --git a/l3kernel/l3keys.dtx b/l3kernel/l3keys.dtx
index 0f583faf5..e5b80c1e5 100644
--- a/l3kernel/l3keys.dtx
+++ b/l3kernel/l3keys.dtx
@@ -687,15 +687,15 @@
 % way, \pkg{l3keys} allows this information to be specified using the
 % \texttt{.validity:n} property.
 %
-% \begin{function}[added = 2021-11-25]{.validity:n}
+% \begin{function}[added = 2021-11-26]{.usage:n}
 %   \begin{syntax}
-%     \meta{key} .validity:n = \meta{scope}
+%     \meta{key} .usage:n = \meta{scope}
 %   \end{syntax}
-%   Defines the \meta{key} to have validty within the \meta{scope}, which
-%   should be one of \texttt{general}, \texttt{preamble} or \texttt{load-time}.
+%   Defines the \meta{key} to have usage within the \meta{scope}, which
+%   should be one of \texttt{general}, \texttt{preamble} or \texttt{load}.
 % \end{function}
 %
-% \begin{variable}{\g_keys_load_time_prop, \g_keys_preamble_seq}
+% \begin{variable}{\g_keys_usage_load_prop, \g_keys_usage_preamble_seq}
 %   \pkg{l3keys} itself does \emph{not} attempt to redefine keys based on the
 %   validity scope. Rather, this information is made available with these
 %   two variables. The property list holds an entry for each module (prefix).
@@ -2179,31 +2179,31 @@
 % \end{macro}
 % \end{macro}
 %
-% \begin{macro}{\@@_validity:n}
+% \begin{macro}{\@@_usage:n}
 % \begin{macro}{\@@_validity_aux:n}
 %   Save the relevant data.
 %    \begin{macrocode}
-\cs_new_protected:Npn \@@_validity:n #1
+\cs_new_protected:Npn \@@_usage:n #1
   {
     \str_case:nnF {#1}
       {
         { general }
           {
-            \@@_validity_aux:n
+            \@@_usage_aux:n
               { \clist_remove:NV \l_@@_tmpa_tl \l_keys_path_str }
-            \seq_gremove:NV \g_keys_preamble_seq \l_keys_path_str
+            \seq_gremove:NV \g_keys_usage_preamble_seq \l_keys_path_str
           }
-        { load-time }
+        { load }
           {
-            \@@_validity_aux:n
+            \@@_usage_aux:n
               { \clist_put_right:NV \l_@@_tmpa_tl \l_keys_path_str }
-            \seq_gremove:NV \g_keys_preamble_seq \l_keys_path_str
+            \seq_gremove:NV \g_keys_usage_preamble_seq \l_keys_path_str
           }
         { preamble }
           {
-            \@@_validity_aux:n
+            \@@_usage_aux:n
               { \clist_remove:NV \l_@@_tmpa_tl \l_keys_path_str }
-            \seq_gput:NV \g_keys_preamble_seq \l_keys_path_str
+            \seq_gput:NV \g_keys_usage_preamble_seq \l_keys_path_str
           }
       }
       {
@@ -2212,13 +2212,13 @@
           { .validity:n }
       }
   }
-\cs_new_protected:Npn \@@_validity_aux:n #1
+\cs_new_protected:Npn \@@_usage_aux:n #1
   {
-    \prop_get:NVNF \g_keys_load_time_prop \l_@@_module_str
+    \prop_get:NVNF \g_keys_usage_load_prop \l_@@_module_str
       \l_@@_tmpa_tl
       { \tl_clear:N \l_@@_tmpa_tl }
     
-    \prop_gput:NVV \g_keys_load_time_prop \l_@@_module_str
+    \prop_gput:NVV \g_keys_usage_load_prop \l_@@_module_str
       \l_@@_tmpa_tl
   }
 %    \end{macrocode}
@@ -2628,8 +2628,8 @@
 %
 % \begin{macro}{.validity:n}
 %    \begin{macrocode}
-\cs_new_protected:cpn { \c_@@_props_root_str .valdity:n } #1
-  { \@@_validty:n {#1} }
+\cs_new_protected:cpn { \c_@@_props_root_str .usage:n } #1
+  { \@@_usage:n {#1} }
 %    \end{macrocode}
 % \end{macro}
 %
@@ -2647,7 +2647,7 @@
 %
 % \subsection{Key properties for \LaTeXe{} options}
 %
-% \begin{macro}{.if, .store, .validity}
+% \begin{macro}{.if, .store, .usage}
 %    \begin{macrocode}
 \group_begin:
   \cs_set_protected:Npn \@@_tmp:nn #1#2
@@ -2661,7 +2661,7 @@
   \@@_tmp:nn
     { legacy_if:n } { if }
     { tl_set:N }    { store }
-    { validity:n }  { validity }
+    { usage:n }     { usage }
     { \q_recursion_tail } { }
     \q_recursion_stop
 \group_end:





More information about the latex3-commits mailing list.