bug-mes
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] mescc: Don't run mescc:main twice


From: Ekaitz Zarraga
Subject: [PATCH] mescc: Don't run mescc:main twice
Date: Sat, 23 Dec 2023 12:20:56 +0100

Since 0.26, some people noticed mescc was running twice per file in mes.
This commit fixes that behaviour.

Discussed here:
<https://lists.gnu.org/archive/html/bug-mes/2023-12/msg00008.html>

* scripts/mescc.scm.in: Remove mescc:main from cond-expand to avoid
  running mescc:main twice in mes.
---
 scripts/mescc.scm.in | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/scripts/mescc.scm.in b/scripts/mescc.scm.in
index e8d4f860..1b7316af 100644
--- a/scripts/mescc.scm.in
+++ b/scripts/mescc.scm.in
@@ -57,9 +57,9 @@
 
 (cond-expand
  (mes
-  (if (current-module) (use-modules (mescc))
-      (mes-use-module (mescc)))
-  (mescc:main (command-line)))
+  (if (current-module)
+    (use-modules (mescc))
+    (mes-use-module (mescc))))
  (guile
   (use-modules (mescc))))
 
-- 
2.41.0




reply via email to

[Prev in Thread] Current Thread [Next in Thread]