emacs-orgmode
[Top][All Lists]
Advanced

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

Re: More use of lexical-binding in ox.el


From: Nicolas Goaziou
Subject: Re: More use of lexical-binding in ox.el
Date: Wed, 28 Apr 2021 10:45:14 +0200

Hello,

Stefan Monnier <monnier@iro.umontreal.ca> writes:

> That's because the "buffer copy" also copies the local vars,

For some reason, I misread the code and thought `buffer-file-name' and
`default-directory' were explicitly ignored. Go figure.

> Yes:
>
>                       (push (cons var val) varvals))))
>              varvals)))
>
> should be
>
>                       (push (cons var val) varvals)))))
>            varvals))
>
> so that the final `varvals` is outside the `dolist` (it's the thing we
> want to return to store it in the outer `varvals` variable).

Indeed. I couldn't spot this.

I applied your patch.

Thank you!

Regards,
-- 
Nicolas Goaziou



reply via email to

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