File 1680-doc-adjust-ERLC_EMULATOR-documentation-after-PR-8937.patch of Package erlang
From 60cd9f34a504545da51b577505dd4ddc0817b313 Mon Sep 17 00:00:00 2001
From: Alexandre Rodrigues <alexandrejbr@live.com>
Date: Thu, 6 Mar 2025 13:55:57 +0100
Subject: [PATCH] doc: adjust ERLC_EMULATOR documentation after PR-8937
Closes #9550
---
erts/doc/references/erlc_cmd.md | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/erts/doc/src/erlc_cmd.xml b/erts/doc/src/erlc_cmd.xml
index f62de06144..32491e4d74 100644
--- a/erts/doc/src/erlc_cmd.xml
+++ b/erts/doc/src/erlc_cmd.xml
@@ -392,7 +392,9 @@ erlc +export_all file.erl</pre>
<title>Environment Variables</title>
<taglist>
<tag><c>ERLC_EMULATOR</c></tag>
- <item>The command for starting the emulator. Defaults to <c>erl</c>
+ <item>The command for starting the emulator, which must be
+ just the path for the emulator without any parameters.
+ Defaults to <c>erl</c>
in the same directory as the <c>erlc</c> program itself,
or, if it does not exist, <c>erl</c> in any of the directories
specified in environment variable <c>PATH</c>.</item>
--
2.43.0