[latex3-commits] [git/LaTeX3-latex3-latex2e] gh606: Simplify space-saving (df7b90f0)

PhelypeOleinik phelype.oleinik at latex-project.org
Thu Sep 2 17:43:02 CEST 2021


Repository : https://github.com/latex3/latex2e
On branch  : gh606
Link       : https://github.com/latex3/latex2e/commit/df7b90f0a8271401c3cb64703ae00cf330e5e536

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

commit df7b90f0a8271401c3cb64703ae00cf330e5e536
Author: PhelypeOleinik <phelype.oleinik at latex-project.org>
Date:   Thu Sep 2 12:43:02 2021 -0300

    Simplify space-saving


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

df7b90f0a8271401c3cb64703ae00cf330e5e536
 base/lthooks.dtx | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/base/lthooks.dtx b/base/lthooks.dtx
index 921e196b..11483c3d 100644
--- a/base/lthooks.dtx
+++ b/base/lthooks.dtx
@@ -4816,9 +4816,7 @@
   {
     \tl_if_exist:cT { @@~#1 }
       {
-        \tl_set:Nn \l_@@_return_tl {#1}
-        \@@_normalize_hook_args:Nn \@@_use_once_store:n
-          { \l_@@_return_tl }
+        \@@_normalize_hook_args:Nn \@@_use_once_store:n { \use:n {#1} }
         \hook_use:n {#1}
       }
   }





More information about the latex3-commits mailing list.