diff --git a/base/lthooks.dtx b/base/lthooks.dtx index 22bf97126..ad12d42f1 100644 --- a/base/lthooks.dtx +++ b/base/lthooks.dtx @@ -210,11 +210,12 @@ % \begin{syntax} % \cs{ActivateGenericHook} \Arg{hook} % \end{syntax} -% This delcaration activates a generic hook provided by a package/class +% This declaration activates a generic hook provided by a package/class % (e.g., one used in code with \cs{UseHook} or -% \cs{UseOnteTimeHook} without it being explicitly declared with +% \cs{UseOneTimeHook} without it being explicitly declared with % \cs{NewHook}). -% If already activated it does nothing. +% This command undoes the effect of \cs{DisableGenericHook}. +% If the hook is already activated, this command does nothing. % % See section~\ref{sec:generic-hooks} for a discussion of when this % declaration is appropriate. @@ -2295,7 +2296,7 @@ % % \item[disabled] % -% A hook in any state is moved to this state when +% A generic hook in any state is moved to this state when % \cs{DisableGenericHook} is used. This changes the tests to give the % following results: % \begin{itemize} @@ -2305,7 +2306,7 @@ % \item [@@_if_disabled:nTF] returns |true|. % \end{itemize} % The structure test is unchanged (if the hook was unknown before it is -% false, otherwise true). The usable test returns false so that +% |false|, otherwise |true|). The usable test returns |false| so that % any \cs{UseHook} will bypass the hook from now on. The % declared test returns true so that any further \cs{NewHook} % generates an error and the disabled test returns true so that @@ -4814,11 +4815,10 @@ % \changes{v1.0m}{2021/04/29}{Add \cs{ProvideHook} etc.} % \changes{v1.0o}{2021/08/02}{Change name} % \begin{macrocode} -\NewDocumentCommand \ActivateGenericHook{ m }{ \hook_activate_generic:n {#1} } +\NewDocumentCommand \ActivateGenericHook { m }{ \hook_activate_generic:n {#1} } % \end{macrocode} % \end{macro} % -% % \begin{macro}{\DisableGenericHook} % Disabling a generic hook. % \changes{v1.0o}{2021/08/02}{Change name}