[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: master 12f63c18f6 1/2: Add new macro 'while-let'
From: |
Visuwesh |
Subject: |
Re: master 12f63c18f6 1/2: Add new macro 'while-let' |
Date: |
Wed, 28 Sep 2022 17:34:19 +0530 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
>branch: master
>commit 12f63c18f6d5a886f62f10b4c8de8de3509e52df
>Author: Lars Ingebrigtsen <larsi@gnus.org>
>Commit: Lars Ingebrigtsen <larsi@gnus.org>
>
> Add new macro 'while-let'
>
> * doc/lispref/control.texi (Conditionals): Document
> when-let/if-let/while-let.
> * lisp/subr.el (while-let): New macro.
>---
> doc/lispref/control.texi | 42 ++++++++++++++++++++++++++++++++++++++++++
> etc/NEWS | 4 ++++
> lisp/subr.el | 13 +++++++++++++
> 3 files changed, 59 insertions(+)
>
>diff --git a/doc/lispref/control.texi b/doc/lispref/control.texi
>index ee2acdb002..9635b335bc 100644
>--- a/doc/lispref/control.texi
>+++ b/doc/lispref/control.texi
>@@ -294,6 +294,48 @@ For example:
> @end group
> @end example
>
>+If can be convenient to bind variables in conjunction with using a
^^
Typo: this should be "It".
>+conditional. It's often the case that you do a computation, and then
>+want to do something with that computation if it's non-@code{nil}.
>+The straightforward way to do that is to just write, for instance:
- Re: master 12f63c18f6 1/2: Add new macro 'while-let',
Visuwesh <=