From 83e9d1c4c2c12d3509e3399f4dcd8bfa826ea884 Mon Sep 17 00:00:00 2001
From: Hans Bolinder
Date: Thu, 4 Oct 2012 15:58:26 +0200
Subject: [stdlib] Remove documentation of Unicode functions in io_lib
The documentation of some Unicode functions in io_lib was committed by
mistake.
---
lib/kernel/src/group.erl | 5 +---
lib/stdlib/doc/src/io_lib.xml | 64 -------------------------------------------
2 files changed, 1 insertion(+), 68 deletions(-)
diff --git a/lib/kernel/src/group.erl b/lib/kernel/src/group.erl
index c66e823a04..334880f009 100644
--- a/lib/kernel/src/group.erl
+++ b/lib/kernel/src/group.erl
@@ -1,7 +1,7 @@
%%
%% %CopyrightBegin%
%%
-%% Copyright Ericsson AB 1996-2010. All Rights Reserved.
+%% Copyright Ericsson AB 1996-2013. All Rights Reserved.
%%
%% The contents of this file are subject to the Erlang Public License,
%% Version 1.1, (the "License"); you may not use this file except in
@@ -446,7 +446,6 @@ get_chars_loop(Pbs, M, F, Xa, Drv, Buf0, State, Encoding) ->
end.
get_chars_apply(Pbs, M, F, Xa, Drv, Buf, State0, Line, Encoding) ->
- id(M,F),
case catch M:F(State0, cast(Line,get(read_mode), Encoding), Encoding, Xa) of
{stop,Result,Rest} ->
{ok,Result,append(Rest, Buf, Encoding)};
@@ -456,8 +455,6 @@ get_chars_apply(Pbs, M, F, Xa, Drv, Buf, State0, Line, Encoding) ->
get_chars_loop(Pbs, M, F, Xa, Drv, Buf, State1, Encoding)
end.
-id(M,F) ->
- {M,F}.
%% Convert error code to make it look as before
err_func(io_lib, get_until, {_,F,_}) ->
F;
diff --git a/lib/stdlib/doc/src/io_lib.xml b/lib/stdlib/doc/src/io_lib.xml
index 617a6b74fc..7487cb5740 100644
--- a/lib/stdlib/doc/src/io_lib.xml
+++ b/lib/stdlib/doc/src/io_lib.xml
@@ -42,12 +42,6 @@
-
-
-
-
-
-
A continuation as returned by fread/3.
@@ -217,23 +211,6 @@
as a string.
-
-
- Write a Unicode string
-
- Returns the list of characters needed to print
- UnicodeString as a string.
-
-
-
-
- Write a Unicode string
-
- Returns the list of characters needed to print
- UnicodeString as a string. Non-Latin-1
- characters are escaped.
-
-
Write a character
@@ -242,23 +219,6 @@
constant in the ISO-latin-1 character set.
-
-
- Write a Unicode character
-
- Returns the list of characters needed to print a character
- constant in the Unicode character set.
-
-
-
-
- Write a Unicode character
-
- Returns the list of characters needed to print a character
- constant in the Unicode character set. Non-Latin-1 characters
- are escaped.
-
-
Indentation after printing string
@@ -275,14 +235,6 @@
characters in the ISO-latin-1 range, otherwise it returns false.
-
-
- Test for a list of Unicode characters
-
- Returns true if Term is a flat list of
- characters in the Unicode range, otherwise it returns false.
-
-
Test for a deep list of characters
@@ -291,14 +243,6 @@
of characters in the ISO-latin-1 range, otherwise it returns false.
-
-
- Test for a deep list of Unicode characters
-
- Returns true if Term is a, possibly deep, list
- of characters in the Unicode range, otherwise it returns false.
-
-
Test for a list of printable ISO-latin-1 characters
@@ -307,14 +251,6 @@
printable ISO-latin-1 characters, otherwise it returns false.
-
-
- Test for a list of printable Unicode characters
-
- Returns true if Term is a flat list of
- printable Unicode characters, otherwise it returns false.
-
-
--
cgit v1.2.3