File otp_src_24.3.4.17-stdlib-doc-gen_statem.patch of Package erlang
diff -Ndurp otp_src_24.3.4.17/lib/stdlib/doc/src/gen_statem.xml otp_src_24.3.4.17-stdlib-doc-gen_statem/lib/stdlib/doc/src/gen_statem.xml
--- otp_src_24.3.4.17/lib/stdlib/doc/src/gen_statem.xml 2024-04-08 15:41:18.000000000 +0300
+++ otp_src_24.3.4.17-stdlib-doc-gen_statem/lib/stdlib/doc/src/gen_statem.xml 2025-05-15 12:00:57.449957899 +0300
@@ -72,24 +72,24 @@
<list type="bulleted">
<item>This behavior appeared in Erlang/OTP 19.0.</item>
<item>
- In OTP 19.1 a backwards incompatible change of
+ <p>In OTP 19.1 a backwards incompatible change of
the return tuple from
<seemfa marker="#Module:init/1"><c>Module:init/1</c></seemfa>
was made and the mandatory callback function
<seemfa marker="#Module:callback_mode/0">
<c>Module:callback_mode/0</c>
</seemfa>
- was introduced.
+ was introduced.</p>
</item>
<item>
- In OTP 20.0
+ <p>In OTP 20.0
<seetype marker="#generic_timeout">
generic time-outs
</seetype>
- were added.
+ were added.</p>
</item>
<item>
- In OTP 22.1 time-out content
+ <p>In OTP 22.1 time-out content
<seetype marker="#timeout_update_action">
<c>update</c>
</seetype>
@@ -97,15 +97,15 @@
<seetype marker="#timeout_cancel_action">
<c>cancel</c>
</seetype>
- were added.
+ were added.</p>
</item>
<item>
- In OTP 22.3 the possibility to change the callback module
+ <p>In OTP 22.3 the possibility to change the callback module
with actions
<seetype marker="#action"><c>change_callback_module</c></seetype>,
<seetype marker="#action"><c>push_callback_module</c></seetype> and
<seetype marker="#action"><c>pop_callback_module</c></seetype>,
- was added.
+ was added.</p>
</item>
</list>
</note>
@@ -123,9 +123,7 @@
<item>Multiple generic named time-outs</item>
<item>Absolute time-out time</item>
<item>Automatic state enter calls</item>
- <item>
- Reply from other state than the request, <c>sys</c> traceable
- </item>
+ <item>Reply from other state than the request, <c>sys</c> traceable</item>
<item>Multiple <c>sys</c> traceable replies</item>
<item>Changing the callback module</item>
</list>
@@ -1275,13 +1273,13 @@ handle_event(_, _, State, Data) ->
<c>pop_callback_module</c>
</tag>
<item>
- Pops the top module from the internal stack of
+ <p>Pops the top module from the internal stack of
callback modules and changes the callback module
to be the popped module.
If the stack is empty the server fails.
Otherwise like
<c>{change_callback_module, NewModule}</c>
- above.
+ above.</p>
</item>
</taglist>
</desc>
@@ -2521,14 +2519,14 @@ init(Args) -> erlang:error(not_implement
any of the following apply:</p>
<list type="bulleted">
<item>
- One of
+ <p>One of
<seemfa marker="sys#get_status/1"><c>sys:get_status/1,2</c></seemfa>
is invoked to get the <c>gen_statem</c> status. <c>Opt</c> is set
- to the atom <c>normal</c> for this case.
+ to the atom <c>normal</c> for this case.</p>
</item>
<item>
- The <c>gen_statem</c> terminates abnormally and logs an error.
- <c>Opt</c> is set to the atom <c>terminate</c> for this case.
+ <p>The <c>gen_statem</c> terminates abnormally and logs an error.
+ <c>Opt</c> is set to the atom <c>terminate</c> for this case.</p>
</item>
</list>
<p>