[latex3-commits] [git/LaTeX3-latex3-fontspec] prgset: s/prg_set_conditions/prg_new_condition/g (33cafe7)
Joseph Wright
joseph.wright at morningstar2.co.uk
Mon Jun 27 09:40:04 CEST 2022
Repository : https://github.com/latex3/fontspec
On branch : prgset
Link : https://github.com/latex3/fontspec/commit/33cafe7bff9f3f70437fa63ea10aa264e56329f8
>---------------------------------------------------------------
commit 33cafe7bff9f3f70437fa63ea10aa264e56329f8
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date: Mon Jun 27 08:40:04 2022 +0100
s/prg_set_conditions/prg_new_condition/g
>---------------------------------------------------------------
33cafe7bff9f3f70437fa63ea10aa264e56329f8
fontspec-code-fontload.dtx | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/fontspec-code-fontload.dtx b/fontspec-code-fontload.dtx
index 4f3dcea..495faf6 100644
--- a/fontspec-code-fontload.dtx
+++ b/fontspec-code-fontload.dtx
@@ -34,7 +34,7 @@
%
% \begin{macro}[pTF]{\@@_primitive_font_if_null:N}
% \begin{macrocode}
-\prg_set_conditional:Nnn \@@_primitive_font_if_null:N {p,TF,T,F}
+\prg_new_conditional:Nnn \@@_primitive_font_if_null:N {p,TF,T,F}
{
\ifx #1 \nullfont
\prg_return_true:
@@ -47,12 +47,12 @@
%
% \begin{macro}[pTF]{\@@_primitive_font_set:NnnTF,\@@_primitive_font_gset:NnnTF}
% \begin{macrocode}
-\prg_set_conditional:Nnn \@@_primitive_font_set:Nnn {TF,T,F}
+\prg_new_conditional:Nnn \@@_primitive_font_set:Nnn {TF,T,F}
{
\@@_primitive_font_set:Nnn #1 {#2} {#3}
\@@_primitive_font_if_null:NTF #1 {\prg_return_false:} {\prg_return_true:}
}
-\prg_set_conditional:Nnn \@@_primitive_font_gset:Nnn {TF,T,F}
+\prg_new_conditional:Nnn \@@_primitive_font_gset:Nnn {TF,T,F}
{
\@@_primitive_font_gset:Nnn #1 {#2} {#3}
\@@_primitive_font_if_null:NTF #1 {\prg_return_false:} {\prg_return_true:}
@@ -66,7 +66,7 @@
%
% \begin{macro}[TF]{\@@_primitive_font_if_exist:n}
% \begin{macrocode}
-\prg_set_conditional:Nnn \@@_primitive_font_if_exist:n {TF,T,F}
+\prg_new_conditional:Nnn \@@_primitive_font_if_exist:n {TF,T,F}
{
\group_begin:
\@@_font_suppress_not_found_error:
More information about the latex3-commits
mailing list.