[Top][All Lists]

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

Re: nested backquotes

From: Matthieu Moy
Subject: Re: nested backquotes
Date: Fri, 20 May 2005 18:05:37 +0200
User-agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.4 (gnu/linux)

Stefan Monnier <address@hidden> writes:

> Maybe I'm way off-base, but lexical-let sounds like a better alternative.
> When capturing things like the current buffer, you can just replace
>      `(lambda (...) ... ,(current-buffer) ...)
> with
>      (lexical-let ((buf (current-buffer)))
>        (lambda (...) ... buf ...))

With the "capture" version, you can also do

(tla--lambda-with-capture (x y z)
  (... foo ... (capture foo) ... (capture (current-buffer))))

which I find more readable. (I've started to look at the lexical-let
option too)

Thanks for your help anyway.


reply via email to

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