From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Vijay Marupudi Newsgroups: gmane.lisp.guile.devel Subject: [PATCH] Documentation typo fix Date: Tue, 15 Feb 2022 17:40:24 -0500 Message-ID: <87r183ah47.fsf@vijaymarupudi.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="31264"; mail-complaints-to="usenet@ciao.gmane.io" To: guile-devel@gnu.org Original-X-From: guile-devel-bounces+guile-devel=m.gmane-mx.org@gnu.org Tue Feb 15 23:41:02 2022 Return-path: Envelope-to: guile-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nK6VJ-0007uC-3x for guile-devel@m.gmane-mx.org; Tue, 15 Feb 2022 23:41:01 +0100 Original-Received: from localhost ([::1]:53888 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nK6VH-0003sc-MN for guile-devel@m.gmane-mx.org; Tue, 15 Feb 2022 17:40:59 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:52532) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nK6V1-0003qk-Hx for guile-devel@gnu.org; Tue, 15 Feb 2022 17:40:43 -0500 Original-Received: from [2a0c:5a00:149::25] (port=56084 helo=mailtransmit04.runbox.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nK6Uz-00037E-7Y for guile-devel@gnu.org; Tue, 15 Feb 2022 17:40:43 -0500 Original-Received: from mailtransmit02.runbox ([10.9.9.162] helo=aibo.runbox.com) by mailtransmit04.runbox.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from ) id 1nK6Us-00BoGr-MQ for guile-devel@gnu.org; Tue, 15 Feb 2022 23:40:34 +0100 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=vijaymarupudi.com; s=selector1; h=Content-Type:MIME-Version:Message-ID:Date :Subject:To:From; bh=ojCERY68kOQ7jVJS9xsArc4DajDj0BPvD++jX8gyLZo=; b=q2GzMqTn aensNiFDyXxGSfaqyAdpKOgmn3qV2JTVV36ho/uAVGKV/ZYfUVCjutH3e3LOq/Pkeq1ktcqQG1rZ/ w+HmxzOmlsB7mwfBb6rqRUlcl5caZ9r9er3kFvaNP+9nN/jEFfM7+W28V+10vb9d/v/KsAjeIkSc3 40hzCzacLto4uKTacCOn0NqKhdbzBjVnd0KQvyJqAU4pxam2GJjEdzEn2IOGNDom4Lcf3shSqnjCA E5+8bXUuSHQFkzyo66w23hcwxhHVrQwAaQK88iFM+rluL4+F6al9IN8LVX8CufiAYJfh3gk47XbAo Z2l8enoH8wDnzstDEsLd1qUnRw==; Original-Received: from [10.9.9.72] (helo=submission01.runbox) by mailtransmit02.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1nK6Us-0007Y3-Ad for guile-devel@gnu.org; Tue, 15 Feb 2022 23:40:34 +0100 Original-Received: by submission01.runbox with esmtpsa [Authenticated ID (1028486)] (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) id 1nK6Um-0006Gi-Se for guile-devel@gnu.org; Tue, 15 Feb 2022 23:40:29 +0100 X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a0c:5a00:149::25 (failed) Received-SPF: pass client-ip=2a0c:5a00:149::25; envelope-from=vijay@vijaymarupudi.com; helo=mailtransmit04.runbox.com X-Spam_score_int: -19 X-Spam_score: -2.0 X-Spam_bar: -- X-Spam_report: (-2.0 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane-mx.org@gnu.org Original-Sender: "guile-devel" Xref: news.gmane.io gmane.lisp.guile.devel:21118 Archived-At: --=-=-= Content-Type: text/plain Hello! I have attached a patch that fixes the simple example of defining (unless ...) with a macro. ~ Vijay --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=0001-Typo-fix-Use-correct-variable-name-in-example.patch >From 42c830b3d14106d18df154d9a34fff2a9ffa532e Mon Sep 17 00:00:00 2001 From: Vijay Marupudi 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 --=-=-=--