[latex3-commits] [git/LaTeX3-latex3-latex2e] options: A few implementation issues (a2910024)

Joseph Wright joseph.wright at morningstar2.co.uk
Wed Jan 12 18:27:10 CET 2022


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

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

commit a29100241680297ebe3dccd89536abd6f6c0ae3d
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Wed Dec 1 10:14:51 2021 +0000

    A few implementation issues


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

a29100241680297ebe3dccd89536abd6f6c0ae3d
 base/ltkeys.dtx | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/base/ltkeys.dtx b/base/ltkeys.dtx
index 57c2f1cf..c5043d0f 100644
--- a/base/ltkeys.dtx
+++ b/base/ltkeys.dtx
@@ -193,8 +193,8 @@
         \cs_set_protected:Npn \@@_option_end:
           { \keys_define:nn {#2} { unknown .undefine: } }
       }
-    \bool_set_true: \l_@@_options_loading_bool
-    \keys_set:nn {#2} \l_@@_options_clist
+    \bool_set_true:N \l_@@_options_loading_bool
+    \keys_set:nV {#2} \l_@@_options_clist
     \bool_set_false:N \l_@@_options_loading_bool
     \cs_set_eq:NN \@unprocessedoptions \scan_stop:
     \@@_option_end:
@@ -316,12 +316,12 @@
 %
 % \subsection{The document interfaces}
 %
-% \begin{macro}{\DeclareKeysOption}
+% \begin{macro}{\DeclareKeysOptions}
 % \begin{macro}{\@@_options_define:nn}
 %   Defining key options is quite straight-forward: we have an intermediate
 %   function to allow for potential set-up steps.
 %    \begin{macrocode}
-\NewDocumentCommand \DeclareKeysOption { o +m }
+\NewDocumentCommand \DeclareKeysOptions { o +m }
   {
     \IfNoValueTF {#1}
       { \exp_args:NV \@@_options_define:nn \@currname }





More information about the latex3-commits mailing list.