[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to use a variable from outer scope in the success function of a
Re: How to use a variable from outer scope in the success function of a request call?
Sat, 29 Aug 2015 10:34:26 +0200
Pascal J. Bourguignon writes:
>> ; I can't use a variable inside the success lambda function of a web request
>> ; As this is difficult to explain I'll show some things I've tried.
> (setf lexical-binding t)
> before fn1, and:
> ;; -*- mode:emacs-lis;lexical-binding:t -*-
> as the first line of all your .el files.
Thanks a lot Pascal, that makes fn1 `work'!
And to learn more myself, do you have any hint why `fn3' or `fn4' don't work
and how to make