[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Documentation typo fix
From: |
lloda |
Subject: |
Re: [PATCH] Documentation typo fix |
Date: |
Thu, 24 Feb 2022 18:56:38 +0100 |
Applied in 68aeffe8dda02ae3248a9fc035cea73384ee7b6c. Thanks!
> On 15 Feb 2022, at 23:40, Vijay Marupudi <vijay@vijaymarupudi.com> wrote:
>
> Hello!
>
> I have attached a patch that fixes the simple example of defining (unless
> ...) with a macro.
>
> ~ Vijay
>
> From 42c830b3d14106d18df154d9a34fff2a9ffa532e Mon Sep 17 00:00:00 2001
> From: Vijay Marupudi <vijay@vijaymarupudi.com>
> Date: Tue, 15 Feb 2022 17:36:08 -0500
> Subject: [PATCH] Typo fix: Use correct variable name in example
>
> * doc/ref/api-control.texi
> ---
> doc/ref/api-control.texi | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/doc/ref/api-control.texi b/doc/ref/api-control.texi
> index 9860457fa..88dea5623 100644
> --- a/doc/ref/api-control.texi
> +++ b/doc/ref/api-control.texi
> @@ -154,7 +154,7 @@ documentation:
> (define-syntax-rule (when test stmt stmt* ...)
> (if test (begin stmt stmt* ...)))
>
> -(define-syntax-rule (unless condition stmt stmt* ...)
> +(define-syntax-rule (unless test stmt stmt* ...)
> (if (not test) (begin stmt stmt* ...)))
> @end example
>
> --
> 2.35.1
>