aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib/doc/src/c.xml
diff options
context:
space:
mode:
authorDan Gudmundsson <[email protected]>2017-09-26 13:25:50 +0200
committerDan Gudmundsson <[email protected]>2017-09-27 16:02:15 +0200
commit73500d2a456023ca36172f5af896d0b1f10853b7 (patch)
tree378af5a7204b55eba7b16e3cbd4ec0fbe845671a /lib/stdlib/doc/src/c.xml
parent44c0da287d683609319b74c25dbade61408501b3 (diff)
downloadotp-73500d2a456023ca36172f5af896d0b1f10853b7.tar.gz
otp-73500d2a456023ca36172f5af896d0b1f10853b7.tar.bz2
otp-73500d2a456023ca36172f5af896d0b1f10853b7.zip
Do not load .erlang from current dir
It may be confusing that "hidden" .erlang is loaded from the current working directory. Use c:erlangrc([Dir1,..]) to search and load .erlang from other places than "$HOME/.erlang". Implies that c:erlangrc() needs to be documented.
Diffstat (limited to 'lib/stdlib/doc/src/c.xml')
-rw-r--r--lib/stdlib/doc/src/c.xml9
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/stdlib/doc/src/c.xml b/lib/stdlib/doc/src/c.xml
index 7666699183..697e1715e7 100644
--- a/lib/stdlib/doc/src/c.xml
+++ b/lib/stdlib/doc/src/c.xml
@@ -94,6 +94,15 @@
</func>
<func>
+ <name name="erlangrc" arity="1"/>
+ <fsummary>Load an erlang resource file.</fsummary>
+ <desc>
+ <p>Search <c>PathList</c> and load <c>.erlang</c> resource file if
+ found.</p>
+ </desc>
+ </func>
+
+ <func>
<name name="flush" arity="0"/>
<fsummary>Flush any messages sent to the shell.</fsummary>
<desc>