unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
From: Vijay Marupudi <vijay@vijaymarupudi.com>
To: guile-devel@gnu.org
Subject: [PATCH] Documentation typo fix
Date: Tue, 15 Feb 2022 17:40:24 -0500	[thread overview]
Message-ID: <87r183ah47.fsf@vijaymarupudi.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 111 bytes --]

Hello!

I have attached a patch that fixes the simple example of defining (unless
...) with a macro.

~ Vijay


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-Typo-fix-Use-correct-variable-name-in-example.patch --]
[-- Type: text/x-patch, Size: 792 bytes --]

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


             reply	other threads:[~2022-02-15 22:40 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-15 22:40 Vijay Marupudi [this message]
2022-02-24  7:26 ` [PATCH] Documentation typo fix Arun Isaac
2022-02-24 13:47   ` Vijay Marupudi
2022-02-24 20:23   ` Aleix Conchillo Flaqué
2022-02-25  5:50     ` Arun Isaac
2022-02-24 17:56 ` lloda

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87r183ah47.fsf@vijaymarupudi.com \
    --to=vijay@vijaymarupudi.com \
    --cc=guile-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).