On 2016-09-04, Jürgen Spitzmüller wrote:
> [-- Type: text/plain, Encoding: quoted-printable --]
> Am Sonntag, den 04.09.2016, 17:32 +0200 schrieb Jürgen Spitzmüller:
>> > It's fine with me if you think it safe.
>> I think it is safe and needed
> Except that I stumbled over the \@ifundefined semantics once more :-(
The LaTeX kernel command \providecommand{\foobar}{FooBar} is better to
understand:
\providecommand{\page...}{\pdfpage...}
If you insist on "\let"ting, you can safely use
\ifdefined
because we know this code is for luatex and luatex contains the e-tex
extensions where this TeX primitive is defined:
\ifdefined \foobar \else
\let \foobar \FooBar
\fi
Günter