aboutsummaryrefslogtreecommitdiffstats
path: root/system/doc/reference_manual/modules.xml
diff options
context:
space:
mode:
authorJosé Valim <[email protected]>2012-02-20 13:38:56 +0100
committerJosé Valim <[email protected]>2012-02-20 13:54:22 +0100
commit645e39f1647aa000c8ce6df69f8c6b2a3378f12a (patch)
treecf7afc27c629b0c7f1352f89c0f3fc47e48a0a77 /system/doc/reference_manual/modules.xml
parent102c34e414f573081a93ca49162dd78cf91949b7 (diff)
downloadotp-645e39f1647aa000c8ce6df69f8c6b2a3378f12a.tar.gz
otp-645e39f1647aa000c8ce6df69f8c6b2a3378f12a.tar.bz2
otp-645e39f1647aa000c8ce6df69f8c6b2a3378f12a.zip
Mention on_load on module attributes section.
Diffstat (limited to 'system/doc/reference_manual/modules.xml')
-rw-r--r--system/doc/reference_manual/modules.xml6
1 files changed, 6 insertions, 0 deletions
diff --git a/system/doc/reference_manual/modules.xml b/system/doc/reference_manual/modules.xml
index 0dbc0ab56b..e29b7b8b16 100644
--- a/system/doc/reference_manual/modules.xml
+++ b/system/doc/reference_manual/modules.xml
@@ -114,6 +114,12 @@ fact(0) -> % |
<p>If this attribute is not specified, the version defaults
to the MD5 checksum of the module.</p>
</item>
+ <tag><c>-on_load(Function).</c></tag>
+ <item>
+ <p>Names a function that should be run automatically when a
+ module a loaded. See <seealso marker="code_loading#on_load">
+ code loading</seealso> for more information.</p>
+ </item>
</taglist>
</section>