[latex3-commits] [latex3/latex2e] cmd-args: Remove unused code (ab880a20)

github at latex-project.org github at latex-project.org
Thu May 18 01:58:06 CEST 2023


Repository : https://github.com/latex3/latex2e
On branch  : cmd-args
Link       : https://github.com/latex3/latex2e/commit/ab880a206353d0d6e904ebda2365ecebecb587d3

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

commit ab880a206353d0d6e904ebda2365ecebecb587d3
Author: PhelypeOleinik <phelype.oleinik at latex-project.org>
Date:   Wed May 17 20:58:06 2023 -0300

    Remove unused code


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

ab880a206353d0d6e904ebda2365ecebecb587d3
 base/lthooks.dtx | 14 --------------
 1 file changed, 14 deletions(-)

diff --git a/base/lthooks.dtx b/base/lthooks.dtx
index 955ff6c7..0a872cce 100644
--- a/base/lthooks.dtx
+++ b/base/lthooks.dtx
@@ -4101,21 +4101,7 @@
 %    \begin{macrocode}
 %<latexrelease>\IncludeInRelease{2021/11/15}{\@@_if_file_hook:w}
 %<latexrelease>                 {Standardise~generic~hook~names}
-\prg_new_conditional:Npnn \@@_if_file_hook:w
-    #1 / #2 \s_@@_mark #3 { TF }
-  {
-    \@@_if_generic:nTF {#3}
-      {
-        \str_if_eq:nnTF {#1} { file }
-          { \prg_return_true: }
-          { \prg_return_false: }
-      }
-      { \prg_return_false: }
-  }
 %<latexrelease>\EndIncludeInRelease
-%    \end{macrocode}
-%
-%    \begin{macrocode}
 %<latexrelease>\IncludeInRelease{2020/10/01}{\@@_if_file_hook:w}
 %<latexrelease>                 {Standardise~generic~hook~names}
 %<latexrelease>\prg_new_conditional:Npnn \@@_if_file_hook:w





More information about the latex3-commits mailing list.