bug-mes
[Top][All Lists]
Advanced

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

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


From: Janneke Nieuwenhuizen
Subject: Re: [PATCH] mescc: Don't run mescc:main twice
Date: Wed, 03 Jan 2024 12:28:04 +0100
User-agent: Gnus/5.13 (Gnus v5.13)

Ekaitz Zarraga writes:

> 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>

Thanks!   Applied to `wip' with two minor whitespace nits

> * scripts/mescc.scm.in: Remove mescc:main from cond-expand to avoid
>   running mescc:main twice in mes.

  ^^ removed these two spaces

> diff --git a/scripts/mescc.scm.in b/scripts/mescc.scm.in
> index e8d4f860..1b7316af 100644
[..]
> -  (if (current-module) (use-modules (mescc))
> -      (mes-use-module (mescc)))
> -  (mescc:main (command-line)))
> +  (if (current-module)
                           ^Removed newline

to use mes-style

    (if expr then
        else)

> +    (use-modules (mescc))

-- 
Janneke Nieuwenhuizen <janneke@gnu.org>  | GNU LilyPond https://LilyPond.org
Freelance IT https://www.JoyOfSource.com | AvatarĀ® https://AvatarAcademy.com



reply via email to

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