emacs-devel
[Top][All Lists]
Advanced

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

Re: Something weird with when-let*/if-let*


From: Eric Abrahamsen
Subject: Re: Something weird with when-let*/if-let*
Date: Sat, 14 Oct 2017 15:12:23 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.90 (gnu/linux)

Noam Postavsky <address@hidden> writes:

> On Sat, Oct 14, 2017 at 8:10 AM, Eric Abrahamsen
> <address@hidden> wrote:
>
>> I got one report on EBDB about this function:
>>
>> (cl-defmethod ebdb-record-uuid ((record ebdb-record))
>>   (if-let* ((uuid-field (slot-value record 'uuid)))
>>       (slot-value uuid-field 'uuid)))
>>
>> Where the error was:
>>
>> "(invalid-function (uuid-field (slot-value record (quote uuid))))"
>>
>> (https://github.com/girzel/ebdb/issues/54#issuecomment-335033393)
>
> The problem is simply that if-let* and when-let* don't exist in emacs 25.

That was probably the case there, but that wouldn't explain Julien's
report, he's on master. And removing the star fixed it for him.

But that did make me wonder if the bug is coming from some ancillary
source, like old elc files or... I don't know.




reply via email to

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