bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#33550: [PATCH] mention let* in if-let


From: Lars Ingebrigtsen
Subject: bug#33550: [PATCH] mention let* in if-let
Date: Sun, 23 Jun 2019 22:56:27 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

Alex Branham <alex.branham@gmail.com> writes:

>  (defmacro if-let (spec then &rest else)
>    "Bind variables according to SPEC and eval THEN or ELSE.
> -Each binding is evaluated in turn, and evaluation stops if a
> -binding value is nil.  If all are non-nil, the value of THEN is
> -returned, or the last form in ELSE is returned.
> +Each binding is evaluated in turn, as in `let*', and evaluation
> +stops if a binding value is nil.  If all are non-nil, the value
> +of THEN is returned, or the last form in ELSE is returned.

Yes, I think that's clearer, because it's a bit surprising that if-let
is more like let* than let.  I've now applied your change to the Emacs
trunk.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





reply via email to

[Prev in Thread] Current Thread [Next in Thread]