[Top][All Lists]

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

Re: [Emacs-diffs] master 1758951: lisp/let-alist.el (let-alist): Evaluat

From: Artur Malabarba
Subject: Re: [Emacs-diffs] master 1758951: lisp/let-alist.el (let-alist): Evaluate `alist' only once.
Date: Fri, 19 Dec 2014 10:59:11 -0200

Thanks, I didn't about that. Unfortunately, it seems to not be
available on 24.2 or earlier. (at least, I couldn't find it)

I want to develop this version in parallel with the Elpa version for
now, while there are still a couple of features I'm planning to add.
But I'll add it in later (before release).

2014-12-19 2:33 GMT-02:00 Stefan Monnier <address@hidden>:
>> +  (let ((var (gensym "let-alist")))
>> +    `(let ((,var ,alist)
> You can use `macroexp-let2' for that (with the extra benefit that it
> will skip the `let' if `alist' is already a trivial expression such as
> a simple variable).
>         Stefan

reply via email to

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