Skip to content

Commit

Permalink
Minor doc fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
PhelypeOleinik committed Aug 6, 2021
1 parent b4e90f8 commit 9c78905
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions base/lthooks.dtx
Expand Up @@ -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.
Expand Down Expand Up @@ -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}
Expand All @@ -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
Expand Down Expand Up @@ -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}
Expand Down

0 comments on commit 9c78905

Please sign in to comment.