GNU bug report logs -
#33550
[PATCH] mention let* in if-let
Previous Next
Reported by: Alex Branham <alex.branham <at> gmail.com>
Date: Thu, 29 Nov 2018 19:20:01 UTC
Severity: wishlist
Tags: fixed, patch
Fixed in version 27.1
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Alex Branham <alex.branham <at> 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
This bug report was last modified 5 years and 339 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.