>> The first solution binds the variables lexically rather than
>> dynamically. That means that if those appear lexically inside
>> the things will work correctly, but if calls a function
>> which then refers to this reference will fail.
> Thank you for the clarification. The code in
On Fri Oct 7 2016 Stefan Monnier wrote:
> The first solution binds the variables lexically rather than
> dynamically. That means that if those appear lexically inside
> the things will work correctly, but if calls a function
> which then refers to this reference will fail.
Thank you for the
On Tue Oct 4 2016 Stefan Monnier wrote:
> There are two ways to do that with lexical-binding:
> - use (eval `(( . ,) ( . ,) ...)
> which will not give the exact same behavior but works well in many
> cases (i.e. depends on the code put in diary-date-forms).
> - use
>
> (defvar ) (defvar
> This variable contains forms that are evaluated using `eval',
> assuming that the variables appearing in this form are bound
> dynamically. - I believe that old coding schemes like this one,
There are two ways to do that with lexical-binding:
- use (eval `(( . ,) ( . ,) ...)
which will not
On Sun Oct 2 2016 Sam Steingold wrote:
> I think if you add
>
> (defvar diary-date-forms)
>
> to bbdb-anniv.el, it will work with lexical-binding too.
This variable contains forms that are evaluated using `eval',
assuming that the variables appearing in this form are bound
dynamically. - I
> * Roland Winkler [2016-10-02 00:20:17 -0500]:
>
> I switched to lexical binding for all elisp files of BBDB except
> for bbdb-anniv.el (which relies on `diary-date-forms' that is not
> compatible with lexical binding).
I think if you add
(defvar diary-date-forms)
to