aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBernard Duggan <[email protected]>2010-02-10 10:52:21 +1100
committerBernard Duggan <[email protected]>2010-02-10 10:52:21 +1100
commit3cb8a8707d89ce77251061f8a5fe31528ba322e8 (patch)
tree12758ca82610885ea4f3cbd10791e0bf6abc8c29
parent0af49f38886f4829a0a5df8bced3bf8815f89523 (diff)
downloadotp-3cb8a8707d89ce77251061f8a5fe31528ba322e8.tar.gz
otp-3cb8a8707d89ce77251061f8a5fe31528ba322e8.tar.bz2
otp-3cb8a8707d89ce77251061f8a5fe31528ba322e8.zip
Fix minor documentation errors
Fix three minor typos and reorder one of a pair of lists of functions so that the ordering is consistent.
-rw-r--r--erts/doc/src/erl.xml2
-rw-r--r--erts/doc/src/erlang.xml2
-rw-r--r--lib/mnesia/doc/src/mnesia.xml6
-rw-r--r--lib/stdlib/doc/src/re.xml2
4 files changed, 6 insertions, 6 deletions
diff --git a/erts/doc/src/erl.xml b/erts/doc/src/erl.xml
index 90a3c53a37..f2f799edf9 100644
--- a/erts/doc/src/erl.xml
+++ b/erts/doc/src/erl.xml
@@ -252,7 +252,7 @@
run as a distributed node. Hidden nodes always establish
hidden connections to all other nodes except for nodes in the
same global group. Hidden connections are not published on
- neither of the connected nodes, i.e. neither of the connected
+ either of the connected nodes, i.e. neither of the connected
nodes are part of the result from <c><![CDATA[nodes/0]]></c> on the other
node. See also hidden global groups,
<seealso marker="kernel:global_group">global_group(3)</seealso>.</p>
diff --git a/erts/doc/src/erlang.xml b/erts/doc/src/erlang.xml
index fd4447009a..6530c6a6c9 100644
--- a/erts/doc/src/erlang.xml
+++ b/erts/doc/src/erlang.xml
@@ -4406,7 +4406,7 @@ true</pre>
</desc>
</func>
<func>
- <name>spawn_link(Node, Fun) -></name>
+ <name>spawn_link(Node, Fun) -> pid()</name>
<fsummary>Create and link to a new process with a fun as entry point on a specified node</fsummary>
<type>
<v>Node = node()</v>
diff --git a/lib/mnesia/doc/src/mnesia.xml b/lib/mnesia/doc/src/mnesia.xml
index 3484cd104a..e730b8c23f 100644
--- a/lib/mnesia/doc/src/mnesia.xml
+++ b/lib/mnesia/doc/src/mnesia.xml
@@ -360,6 +360,9 @@ If a new item is inserted with the same key as
</p>
<list type="bulleted">
<item>
+ <p>mnesia:lock/2 (read_lock_table/1, write_lock_table/1)</p>
+ </item>
+ <item>
<p>mnesia:write/3 (write/1, s_write/1)</p>
</item>
<item>
@@ -396,9 +399,6 @@ If a new item is inserted with the same key as
<p>mnesia:index_read/3</p>
</item>
<item>
- <p>mnesia:lock/2 (read_lock_table/1, write_lock_table/1)</p>
- </item>
- <item>
<p>mnesia:table_info/2</p>
</item>
</list>
diff --git a/lib/stdlib/doc/src/re.xml b/lib/stdlib/doc/src/re.xml
index 41dce7f2a7..6c6f67811a 100644
--- a/lib/stdlib/doc/src/re.xml
+++ b/lib/stdlib/doc/src/re.xml
@@ -592,7 +592,7 @@ This option makes it possible to include comments inside complicated patterns. N
<v>NLSpec = cr | crlf | lf | anycrlf | any </v>
<v>SplitList = [ RetData ] | [ GroupedRetData ]</v>
<v>GroupedRetData = [ RetData ]</v>
- <v>RetData = iodata() charlist() | binary() | list()</v>
+ <v>RetData = iodata() | charlist() | binary() | list()</v>
</type>
<desc>
<p>This function splits the input into parts by finding tokens