From a2f9d28ac231f7209815b743d9a20d266c51a187 Mon Sep 17 00:00:00 2001 From: Richard Carlsson Date: Tue, 17 Apr 2018 13:38:07 +0200 Subject: Remove lib:error_message/2 --- lib/stdlib/doc/src/lib.xml | 10 ---------- lib/stdlib/src/lib.erl | 12 +----------- 2 files changed, 1 insertion(+), 21 deletions(-) (limited to 'lib/stdlib') 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 @@ -38,16 +38,6 @@ - - - Print error message. - -

Prints error message Args in accordance with - Format. Similar to - io:format/2.

-
-
- Return name of Erlang start script. 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(). -- cgit v1.2.3