Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Yukai Chou <[email protected]>
  • Loading branch information
FrankMittelbach and muzimuzhi authored Dec 22, 2024
1 parent 76ecf9d commit 13cf7ed
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions base/doc/ltnews41.tex
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion base/update-lthooks-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ l3build save -cconfig-lthooks2 \



L3build save -cconfig-lthooks \
l3build save -cconfig-lthooks \
ltcmdhooks-001 \
ltcmdhooks-002 \
ltcmdhooks-003 \
Expand Down

0 comments on commit 13cf7ed

Please sign in to comment.