diff --git a/base/doc/ltnews41.tex b/base/doc/ltnews41.tex index be9bb4b6a..9ceb67ea6 100644 --- a/base/doc/ltnews41.tex +++ b/base/doc/ltnews41.tex @@ -373,9 +373,9 @@ \subsection{Fix the use of \texttt{localmathalpabets}} \subsection{Prevent \texttt{cmd} hook from defining an undefined command} -Using \verb=AddToHook{cmd/FOO/...}= when the command \cs{FOO} was +Using \verb=\AddToHook{cmd/FOO/...}= when the command \cs{FOO} was undefined resulted in the command becoming \cs{relax}. Thus, if used, -it no longer raised an \enquote{Undefined csname} error but silently +it no longer raised an \enquote{Undefined control sequence} error but silently did nothing. This behavior has been corrected and if the command \cs{FOO} isn't defined later, e.g., in a package, it now raises an error if it is used in the document. diff --git a/base/update-lthooks-tests.sh b/base/update-lthooks-tests.sh index bdf47d4d1..427f63f0e 100755 --- a/base/update-lthooks-tests.sh +++ b/base/update-lthooks-tests.sh @@ -34,7 +34,7 @@ l3build save -cconfig-lthooks2 \ -L3build save -cconfig-lthooks \ +l3build save -cconfig-lthooks \ ltcmdhooks-001 \ ltcmdhooks-002 \ ltcmdhooks-003 \