aboutsummaryrefslogtreecommitdiffstats
path: root/lib/kernel/src
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2016-04-01 12:02:39 +0200
committerBjörn Gustavsson <[email protected]>2016-04-01 12:02:39 +0200
commite31c6633233dc996d2ead18b479458b20e6ee5e8 (patch)
tree837307ec5b3ba0112d448637a37dd401cd6178ab /lib/kernel/src
parent6d905fa0c6be1f70e0c562b909bc49ca402b3e67 (diff)
parent20ca1514787110037079e39bd10f00e0e3957ea7 (diff)
downloadotp-e31c6633233dc996d2ead18b479458b20e6ee5e8.tar.gz
otp-e31c6633233dc996d2ead18b479458b20e6ee5e8.tar.bz2
otp-e31c6633233dc996d2ead18b479458b20e6ee5e8.zip
Merge branch 'bjorn/kernel/doc'
* bjorn/kernel/doc: code: Remove 'bad_path' error code from set_path/1 Update Kernel documentation
Diffstat (limited to 'lib/kernel/src')
-rw-r--r--lib/kernel/src/code.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/kernel/src/code.erl b/lib/kernel/src/code.erl
index 0882cb170c..d1cb47f6ea 100644
--- a/lib/kernel/src/code.erl
+++ b/lib/kernel/src/code.erl
@@ -258,7 +258,7 @@ is_sticky(Mod) when is_atom(Mod) -> call({is_sticky,Mod}).
-spec set_path(Path) -> 'true' | {'error', What} when
Path :: [Dir :: file:filename()],
- What :: 'bad_directory' | 'bad_path'.
+ What :: 'bad_directory'.
set_path(PathList) when is_list(PathList) -> call({set_path,PathList}).
-spec get_path() -> Path when