diff options
author | Dan Gudmundsson <[email protected]> | 2017-09-26 13:25:50 +0200 |
---|---|---|
committer | Dan Gudmundsson <[email protected]> | 2017-09-27 16:02:15 +0200 |
commit | 73500d2a456023ca36172f5af896d0b1f10853b7 (patch) | |
tree | 378af5a7204b55eba7b16e3cbd4ec0fbe845671a /erts/doc | |
parent | 44c0da287d683609319b74c25dbade61408501b3 (diff) | |
download | otp-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 'erts/doc')
-rw-r--r-- | erts/doc/src/erl.xml | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/erts/doc/src/erl.xml b/erts/doc/src/erl.xml index 71fe08d4e6..ae52d92a89 100644 --- a/erts/doc/src/erl.xml +++ b/erts/doc/src/erl.xml @@ -1633,8 +1633,7 @@ <tag>The <c>.erlang</c> startup file</tag> <item> <p>When Erlang/OTP is started, the system searches for a file named - <c>.erlang</c> in the directory where Erlang/OTP is started. If not - found, the user's home directory is searched for an <c>.erlang</c> + <c>.erlang</c> in the user's home directory is searched for an <c>.erlang</c> file.</p> <p>If an <c>.erlang</c> file is found, it is assumed to contain valid Erlang expressions. These expressions are evaluated as if they were |