diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/stdlib/doc/src/lib.xml | 10 | ||||
-rw-r--r-- | lib/stdlib/src/lib.erl | 12 |
2 files changed, 1 insertions, 21 deletions
diff --git a/lib/stdlib/doc/src/lib.xml b/lib/stdlib/doc/src/lib.xml index 243c67c2ad..69dfdbcf50 100644 --- a/lib/stdlib/doc/src/lib.xml +++ b/lib/stdlib/doc/src/lib.xml @@ -39,16 +39,6 @@ <funcs> <func> - <name name="error_message" arity="2"/> - <fsummary>Print error message.</fsummary> - <desc> - <p>Prints error message <c><anno>Args</anno></c> in accordance with - <c><anno>Format</anno></c>. Similar to - <seealso marker="io#format/1"><c>io:format/2</c></seealso>.</p> - </desc> - </func> - - <func> <name name="progname" arity="0"/> <fsummary>Return name of Erlang start script.</fsummary> <desc> diff --git a/lib/stdlib/src/lib.erl b/lib/stdlib/src/lib.erl index e5f5db0a8f..a115836411 100644 --- a/lib/stdlib/src/lib.erl +++ b/lib/stdlib/src/lib.erl @@ -19,7 +19,7 @@ %% -module(lib). --export([error_message/2, progname/0, eval_str/1]). +-export([progname/0, eval_str/1]). -export([extended_parse_exprs/1, extended_parse_term/1, subst_values_for_vars/2]). @@ -28,16 +28,6 @@ format_stacktrace/4, format_stacktrace/5, format_call/4, format_call/5, format_fun/1, format_fun/2]). -%% -%% Functions for doing standard system format i/o. -%% --spec error_message(Format, Args) -> 'ok' when - Format :: io:format(), - Args :: [term()]. - -error_message(Format, Args) -> - io:format(<<"** ~ts **\n">>, [io_lib:format(Format, Args)]). - %% Return the name of the script that starts (this) erlang %% -spec progname() -> atom(). |