File 0662-Document-that-LineLength-0-means-infinite-in-one-mor.patch of Package erlang

From 49d48bf900a4a85be32259a6a5206816ffda3686 Mon Sep 17 00:00:00 2001
From: Stavros Aronis <stavros.aronis@protonmail.com>
Date: Wed, 12 Nov 2025 10:10:58 +0100
Subject: [PATCH] Document that LineLength 0 means infinite in one more place

This is mentioned in https://www.erlang.org/doc/apps/stdlib/io.html but mentioning it here is also useful.
---
 lib/stdlib/src/io_lib.erl | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lib/stdlib/doc/src/io_lib.xml b/lib/stdlib/doc/src/io_lib.xml
index e43541da93..f88d2c019f 100644
--- a/lib/stdlib/doc/src/io_lib.xml
+++ b/lib/stdlib/doc/src/io_lib.xml
@@ -311,7 +311,9 @@
           <item><c><anno>Column</anno></c> is the starting column; defaults
             to 1.</item>
           <item><c><anno>LineLength</anno></c> is the maximum line length;
-            defaults to 80.</item>
+            defaults to 80.
+            The value 0 can be used to specify infinite length,
+            meaning that no line breaks are inserted.</item>
           <item><c><anno>Depth</anno></c> is the maximum print depth;
             defaults to -1, which means no limitation.</item>
         </list>
-- 
2.51.0

openSUSE Build Service is sponsored by