File 1491-Update-Setup-on-Windows-in-erlang_mode_chapter.md.patch of Package erlang
From f97b03aa2bde28ee4ff71b1860706cd1ff630b79 Mon Sep 17 00:00:00 2001
From: M-I <marc_igeleke@yahoo.ca>
Date: Tue, 5 Mar 2024 13:17:18 +0100
Subject: [PATCH] Update 'Setup on Windows' in erlang_mode_chapter.md
Since OTP 25, the erlang installer's default folder changed from 'erl-<Vsn>' to 'Erlang OTP'
---
lib/tools/doc/guides/erlang_mode_chapter.md | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/lib/tools/doc/src/erlang_mode_chapter.xml b/lib/tools/doc/src/erlang_mode_chapter.xml
index 7634a2f234..c3e3f5a7dd 100644
--- a/lib/tools/doc/src/erlang_mode_chapter.xml
+++ b/lib/tools/doc/src/erlang_mode_chapter.xml
@@ -78,12 +78,12 @@
will look for the <c>.emacs</c> file in <c>C:\ </c>.</p>
<p>Below is a complete example of what should be added to a user's
<c>.emacs</c> provided that OTP is installed in the directory
- <c><![CDATA[C:\Program Files\erl<Ver>]]></c>: </p>
+ <c><![CDATA[C:\Program Files\Erlang OTP]]></c>: </p>
<code type="none"><![CDATA[
- (setq load-path (cons "C:/Program Files/erl<Ver>/lib/tools-<ToolsVer>/emacs"
+ (setq load-path (cons "C:/Program Files/Erlang OTP/lib/tools-<ToolsVer>/emacs"
load-path))
- (setq erlang-root-dir "C:/Program Files/erl<Ver>")
- (setq exec-path (cons "C:/Program Files/erl<Ver>/bin" exec-path))
+ (setq erlang-root-dir "C:/Program Files/Erlang OTP")
+ (setq exec-path (cons "C:/Program Files/Erlang OTP/bin" exec-path))
(require 'erlang-start)
]]></code>
<note>
--
2.35.3