<div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div bgcolor="#FFFFFF" text="#000000"><div class="im"><blockquote type="cite">The page on module attributes does not mention on_load
and callback attributes:
<div><br>
</div>
<div><a href="http://www.erlang.org/doc/reference_manual/modules.html" target="_blank">http://www.erlang.org/doc/reference_manual/modules.html</a></div>
<div><br>
</div>
<div>Should I submit a patch to update those or they are not
mentioned there on purpose? <br></div></blockquote></div></div></blockquote><div><br></div><div>Here we go. I have added on_load to the list and linked to code_loading#on_load for more information. I have also fixed a small typo:</div>
<div><br></div><div><a href="https://github.com/josevalim/otp/compare/on_load_docs">https://github.com/josevalim/otp/compare/on_load_docs</a></div><div><a href="https://github.com/josevalim/otp/compare/on_load_docs.patch">https://github.com/josevalim/otp/compare/on_load_docs.patch</a></div>
<div><br></div><div>I haven't added -callbacks to the list because I could not find any detailed information on the subject. I can work on it later.</div></div>