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

Joseph Wright joseph.wright at morningstar2.co.uk
Wed Dec 1 11:14:51 CET 2021


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

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

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

    A few implementation issues


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

35a84beca09258d9701f75c82c7c740c7c669c1d
 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.