[latex3-commits] [git/LaTeX3-latex3-hyperref] cleanup-patches: use ifcsname (df79a39)

Ulrike Fischer fischer at troubleshooting-tex.de
Sun May 1 17:20:27 CEST 2022


Repository : https://github.com/latex3/hyperref
On branch  : cleanup-patches
Link       : https://github.com/latex3/hyperref/commit/df79a39b3713970384415283a899d31271f6afc8

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

commit df79a39b3713970384415283a899d31271f6afc8
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date:   Sun May 1 17:20:27 2022 +0200

    use ifcsname


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

df79a39b3713970384415283a899d31271f6afc8
 hyperref.dtx | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/hyperref.dtx b/hyperref.dtx
index f8e32f7..ba1ca91 100644
--- a/hyperref.dtx
+++ b/hyperref.dtx
@@ -12679,9 +12679,7 @@
 %    \begin{macrocode}
 \let\HyRef at ShowKeysRef\@gobble
 \def\HyRef at ShowKeysInit{%
-  \begingroup\expandafter\expandafter\expandafter\endgroup
-  \expandafter\ifx\csname SK@@label\endcsname\relax
-  \else
+  \ifcsname SK@@label\endcsname
     \ifx\SK at ref\@empty
     \else
       \def\HyRef at ShowKeysRef{%





More information about the latex3-commits mailing list.