[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: let-bind a varlist only known at run time
From: |
Philipp Stephani |
Subject: |
Re: let-bind a varlist only known at run time |
Date: |
Mon, 05 Jun 2017 13:44:14 +0000 |
Roland Winkler <winkler@gnu.org> schrieb am So., 4. Juni 2017 um 23:00 Uhr:
> Normally the varlist for the special let form is hardcoded. Is it
> possible to specify the varlist only at runtime?
>
> The usage scenario I have in mind is that a user variable foo-alist
> may hold an alist that becomes the varlist for the let-binding. So
> it's not known at compile time which bindings a user might want to
> specify in foo-alist. Also, it might be hard to predict an
> exhaustive list of "candidate variables" a user might want to put into
> foo-alist (and certainly such a list would be hard to maintain).
>
Have you checked `let-alist'? Maybe it already does what you want.