[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
Pascal J. Bourguignon
Re: How to use a variable from outer scope in the success function of a request call?
Sat, 29 Aug 2015 09:51:58 +0200
Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)
Iñigo Serna <address@hidden> 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.
__Pascal Bourguignon__ http://www.informatimago.com/
“The factory of the future will have only two employees, a man and a
dog. The man will be there to feed the dog. The dog will be there to
keep the man from touching the equipment.” -- Carl Bass CEO Autodesk
- Re: How to use a variable from outer scope in the success function of a request call?,
Pascal J. Bourguignon <=