File 0296-erts-Clarify-erlang-function_exported.patch of Package erlang

From 0cf9486eafdb6ef7bec7bfccaca43bb2562cc7ee Mon Sep 17 00:00:00 2001
From: Lukas Larsson <lukas@erlang.org>
Date: Fri, 22 Jan 2021 17:07:12 +0100
Subject: [PATCH 6/8] erts: Clarify erlang:function_exported

The function returns false for code that has been deleted.
---
 erts/doc/src/erlang.xml | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)

diff --git a/erts/doc/src/erlang.xml b/erts/doc/src/erlang.xml
index 68e2f81835..de557cb550 100644
--- a/erts/doc/src/erlang.xml
+++ b/erts/doc/src/erlang.xml
@@ -1972,14 +1972,10 @@ true</pre>
       <fsummary>Check if a function is exported and loaded.</fsummary>
       <desc>
         <p>Returns <c>true</c> if the module <c><anno>Module</anno></c> is
-          loaded and contains an exported function
-          <c><anno>Function</anno>/<anno>Arity</anno></c>,
+          <seeguide marker="system/reference_manual:code_loading#code-replacement">current</seeguide>
+          and contains an exported function <c><anno>Function</anno>/<anno>Arity</anno></c>,
           or if there is a BIF (a built-in function implemented in C)
           with the specified name, otherwise returns <c>false</c>.</p>
-        <note>
-          <p>This function used to return <c>false</c> for BIFs
-            before Erlang/OTP 18.0.</p>
-        </note>
       </desc>
     </func>
 
-- 
2.26.2

openSUSE Build Service is sponsored by