summaryrefslogtreecommitdiff
path: root/macros/luatex/generic/luatexja/src/patches/lltjdefs.sty
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2020-08-03 03:01:12 +0000
committerNorbert Preining <norbert@preining.info>2020-08-03 03:01:12 +0000
commite5053aca346b6b429f77806ea89e37d67da94b29 (patch)
tree49b473636d2663448ca7031ae9eb6b3b28b06f3d /macros/luatex/generic/luatexja/src/patches/lltjdefs.sty
parent1498fd91bffe57cfb36b3164ea5237cff0915559 (diff)
CTAN sync 202008030301
Diffstat (limited to 'macros/luatex/generic/luatexja/src/patches/lltjdefs.sty')
-rw-r--r--macros/luatex/generic/luatexja/src/patches/lltjdefs.sty16
1 files changed, 8 insertions, 8 deletions
diff --git a/macros/luatex/generic/luatexja/src/patches/lltjdefs.sty b/macros/luatex/generic/luatexja/src/patches/lltjdefs.sty
index 29f38b367a..e0dba37547 100644
--- a/macros/luatex/generic/luatexja/src/patches/lltjdefs.sty
+++ b/macros/luatex/generic/luatexja/src/patches/lltjdefs.sty
@@ -101,15 +101,15 @@
\def\@ltj@hook@family#1#2{ % #1: csname #2: contents
\ifcsname @#1hook\endcsname % LaTeX 2020-02-02
- \csappto{@#1hook}{#2}%
+ \csappto{@#1hook}{#2}%
\else % LaTeX 2019-10-01
- \ifcsname #1 \endcsname
- \expandafter\patchcmd\csname #1 \endcsname{\selectfont}{#2\selectfont}{}{}%
- \else
- \PackageWarningNoLine{luatexja}{%
- Patching to \expandafter\string\csname #1\endcsname\space failed%
- }%
- \fi
+ \ifcsname #1 \endcsname
+ \expandafter\patchcmd\csname #1 \endcsname{\selectfont}{#2\selectfont}{}{}%
+ \else
+ \PackageWarningNoLine{luatexja}{%
+ Patching to \expandafter\string\csname #1\endcsname\space failed%
+ }%
+ \fi
\fi
}
\@ltj@hook@family{rmfamily}{%