[latex3-commits] [git/LaTeX3-latex3-latex2e] gh648: Now \ShowHook can tell if a hook is generic (69c6a9bd)

PhelypeOleinik phelype.oleinik at latex-project.org
Thu Aug 26 05:29:14 CEST 2021


Repository : https://github.com/latex3/latex2e
On branch  : gh648
Link       : https://github.com/latex3/latex2e/commit/69c6a9bdd6ff91ba6290df46df485dbce68ec1e4

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

commit 69c6a9bdd6ff91ba6290df46df485dbce68ec1e4
Author: PhelypeOleinik <phelype.oleinik at latex-project.org>
Date:   Thu Aug 26 00:29:14 2021 -0300

    Now \ShowHook can tell if a hook is generic


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

69c6a9bdd6ff91ba6290df46df485dbce68ec1e4
 base/lthooks.dtx | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/base/lthooks.dtx b/base/lthooks.dtx
index 53ed8227..a0787500 100644
--- a/base/lthooks.dtx
+++ b/base/lthooks.dtx
@@ -4205,7 +4205,8 @@
         \exp_after:wN \use_none:nnnnnnnnn \use_none:nnnnn
       }
     \@@_preamble_hook:n {#1}
-    \@@_log_cmd:x { ^^J ->~The~hook~'#1': }
+    \@@_log_cmd:x
+      { ^^J ->~The~ \@@_if_generic:nT {#1} { generic~ } hook~'#1': }
 %    \end{macrocode}
 %
 %    \begin{macrocode}





More information about the latex3-commits mailing list.