From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: lloda Newsgroups: gmane.lisp.guile.devel Subject: Re: [PATCH] Documentation typo fix Date: Thu, 24 Feb 2022 18:56:38 +0100 Message-ID: References: <87r183ah47.fsf@vijaymarupudi.com> Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.7\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19638"; mail-complaints-to="usenet@ciao.gmane.io" Cc: guile-devel@gnu.org To: Vijay Marupudi Original-X-From: guile-devel-bounces+guile-devel=m.gmane-mx.org@gnu.org Thu Feb 24 18:56:37 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 1nNIM0-0004qw-Tg for guile-devel@m.gmane-mx.org; Thu, 24 Feb 2022 18:56:36 +0100 Original-Received: from localhost ([::1]:58340 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nNILz-0008U6-RR for guile-devel@m.gmane-mx.org; Thu, 24 Feb 2022 12:56:35 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:40838) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nNIJ6-0004cE-9d for guile-devel@gnu.org; Thu, 24 Feb 2022 12:53:37 -0500 Original-Received: from mta-10-3.privateemail.com ([198.54.127.62]:40811) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nNIJ4-0003eY-0T for guile-devel@gnu.org; Thu, 24 Feb 2022 12:53:35 -0500 Original-Received: from mta-10.privateemail.com (localhost [127.0.0.1]) by mta-10.privateemail.com (Postfix) with ESMTP id EA18418000AB; Thu, 24 Feb 2022 12:53:09 -0500 (EST) Original-Received: from [192.168.1.105] (unknown [10.20.151.162]) by mta-10.privateemail.com (Postfix) with ESMTPA id 5A2D0180009F; Thu, 24 Feb 2022 12:53:08 -0500 (EST) In-Reply-To: <87r183ah47.fsf@vijaymarupudi.com> X-Mailer: Apple Mail (2.3608.120.23.2.7) X-Virus-Scanned: ClamAV using ClamSMTP Received-SPF: pass client-ip=198.54.127.62; envelope-from=lloda@sarc.name; helo=MTA-10-3.privateemail.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham 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:21151 Archived-At: Applied in 68aeffe8dda02ae3248a9fc035cea73384ee7b6c. Thanks! > On 15 Feb 2022, at 23:40, Vijay Marupudi 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 > 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 >