Hello, Stefan Monnier <monn...@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