That sounds fine to me. Would you then use 

:lexical nil 

in a header to turn it off? or a new custom variable?

John

-----------------------------------
Professor John Kitchin 
Doherty Hall A207F
Department of Chemical Engineering
Carnegie Mellon University
Pittsburgh, PA 15213
412-268-7803

On Fri, Apr 15, 2016 at 4:49 PM, Nicolas Goaziou <mail@nicolasgoaziou.fr> wrote:
Hello,

John Kitchin <jkitchin@andrew.cmu.edu> writes:

> So, I would like to propose adding the third argument to the eval
> statement that reads
>
> (assoc :lexical params)
>
> to turn on lexical eval if you want it.
>
> What do you think?

I assume you're talking about ob-emacs-lisp.el. This sounds like a good
idea. However, I suggest to make lexical binding the default value, to
be on par with the rest of Emacs.


Regards,

--
Nicolas Goaziou