File 5642-Update-details-about-record-definitions-in-the-shell.patch of Package erlang
From d512b171ac99e3e8f24ed649c775e566e6f4fbb1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Bj=C3=B6rn=20Gustavsson?= <bjorn@erlang.org>
Date: Thu, 22 Feb 2024 12:28:57 +0100
Subject: [PATCH 2/2] Update details about record definitions in the shell
---
system/doc/reference_manual/ref_man_records.md | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/system/doc/reference_manual/records.xml b/system/doc/reference_manual/records.xml
index 72206d2f35..47ff2b6052 100644
--- a/system/doc/reference_manual/records.xml
+++ b/system/doc/reference_manual/records.xml
@@ -57,6 +54,10 @@
come before any usage of the record.</p>
<p>If a record is used in several modules, it is recommended that
the record definition is placed in an include file.</p>
+ <change><p>Starting from Erlang/OTP 26, records can be defined in the Erlang shell
+ using the syntax described in this section. In earlier releases, it was
+ necessary to use the `m:shell` built-in function `rd/2`.</p>
+ </change>
</section>
<section>
--
2.35.3