emacs-devel
[Top][All Lists]
Advanced

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

Re: Better documentation for non-binding clauses of if-let and friends


From: Jens Schmidt
Subject: Re: Better documentation for non-binding clauses of if-let and friends
Date: Sun, 10 Nov 2024 17:58:51 +0100
User-agent: Mozilla Thunderbird

Joost,

who takes the lock?  Merging should be pretty simple, I think.
One could also add an example for a non-binding clause, like in

  (when-let* ((end (calculate-end))
              (    (< point end)))
    (do-something-with end))

Jens

On 2024-11-10  15:51, Sean Whitton wrote:
> Hello,
> 
> On Sun 10 Nov 2024 at 01:24pm +01, Jens Schmidt wrote:
> 
>>   For all of these SPEC is similar to what let* offers, with a few
>>   extensions useful in the context of testing conditions: As with
>>   let*, an element of SPEC which is a list (SYMBOL VALUEFORM) binds
>>   SYMBOL to the value of VALUEFORM.
> 
> I think we should make sure we keep the reference to let*, indeed.
> 
> We seem to have two proposed patches, now, from Joost and Jens.
> 
> Would one of you kindly combine them, and also post it as an actual
> diff?
> 




reply via email to

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