From e318f7ef0901ad8230cf7a477c20ccf202f4e9af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ricardo=20Catalinas=20Jim=C3=A9nez?= Date: Mon, 19 Sep 2011 14:18:09 +0200 Subject: Fix typo in the Reference Manual macros section The module is not added in a function call inside a macro. --- system/doc/reference_manual/macros.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system/doc/reference_manual/macros.xml b/system/doc/reference_manual/macros.xml index 9dd5fc79bd..bfac7f8d79 100644 --- a/system/doc/reference_manual/macros.xml +++ b/system/doc/reference_manual/macros.xml @@ -234,7 +234,7 @@ or ?TESTCALL(you:function(2,1)).

results in

-io:format("Call ~s: ~w~n",["myfunction ( 1 , 2 )",m:myfunction(1,2)]), +io:format("Call ~s: ~w~n",["myfunction ( 1 , 2 )",myfunction(1,2)]), io:format("Call ~s: ~w~n",["you : function ( 2 , 1 )",you:function(2,1)]).

That is, a trace output with both the function called and the resulting value.

-- cgit v1.2.3 From 20e826b45c183f023c8b2ef71a9b57773d08c813 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ricardo=20Catalinas=20Jim=C3=A9nez?= Date: Mon, 19 Sep 2011 14:23:18 +0200 Subject: Add missing parenthesis in heart doc --- lib/kernel/doc/src/heart.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/kernel/doc/src/heart.xml b/lib/kernel/doc/src/heart.xml index e2dbcbe63d..26d1e27822 100644 --- a/lib/kernel/doc/src/heart.xml +++ b/lib/kernel/doc/src/heart.xml @@ -42,7 +42,7 @@ system.

An Erlang runtime system to be monitored by a heart program, should be started with the command line flag -heart (see - also erl(1). The heart + also erl(1)). The heart process is then started automatically:

 % erl -heart ...
-- cgit v1.2.3 From e43d6460cc5bd0301da7479a715d3c1b66948957 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ricardo=20Catalinas=20Jim=C3=A9nez?= Date: Mon, 19 Sep 2011 14:28:07 +0200 Subject: Add missing spaces in the Reference Manual distributed section In the HTML version of the doc those spaces are necessary to separate those words. --- system/doc/reference_manual/distributed.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/system/doc/reference_manual/distributed.xml b/system/doc/reference_manual/distributed.xml index d0eac78404..bc55d14c90 100644 --- a/system/doc/reference_manual/distributed.xml +++ b/system/doc/reference_manual/distributed.xml @@ -176,11 +176,11 @@ dilbert@uab is_alive() - Returns trueif the runtime system is a node and can connect to other nodes, falseotherwise. + Returns true if the runtime system is a node and can connect to other nodes, false otherwise. monitor_node(Node, true|false) - Monitor the status of Node. A message{nodedown, Node}is received if the connection to it is lost. + Monitor the status of Node. A message{nodedown, Node} is received if the connection to it is lost. node() @@ -200,7 +200,7 @@ dilbert@uab set_cookie(Node, Cookie) - Sets the magic cookie used when connecting to Node. If Nodeis the current node, Cookiewill be used when connecting to all new nodes. + Sets the magic cookie used when connecting to Node. If Node is the current node, Cookie will be used when connecting to all new nodes. spawn[_link|_opt](Node, Fun) -- cgit v1.2.3